Linux - Reddit – Telegram
Linux - Reddit
754 subscribers
4.17K photos
207 videos
39.8K links
Stay up-to-date with everything Linux!
Content directly fetched from the subreddit just for you.

Powered by : @r_channels
Download Telegram
to do that again now.) Just 12 days ago, I was actually quite excited to have a new Lenovo Linux computer to start experimenting around with, and I was sincerely thankful for Lenovo offering one with Linux pre-installed so that I didn't have to worry about something I missed in that end of it.

Perhaps my undoing was that I chose the Ubuntu OS (vs. the Fedora OS) from Lenovo? Both should be fine, but maybe Lenovo just can't handle Ubuntu yet? Ironically, I chose Ubuntu because it was reported to be even more stable than Fedora. Even I -- a "non-Linux person" -- was able to install Ubuntu on my own on in a separate partition on an old, 2nd-hand, Toshiba Satellite Windows 7 machine when I was "demoing" Linux desktops to see if I wanted to make the leap. It was old tech, so I didn't have to deal with the possibility of new missing drivers and the like, but it wasn't all that bad.

Or perhaps I just drew the unlucky straw and got a rare ThinkPad lemon. But given the extraordinarily poor performance of Lenovo support so far, I'd say try elsewhere if you can. You might get lucky and never need them. Or you might just get them on a day when they actually remember how to help. But my experience suggests you shouldn't count on it. (Really a shame. I was quite excited and positive about Lenovo just 12 days ago. I even got my partner to by a Lenovo Yoga with MS Windows (she has to have MS for her work) a few days after I ordered mine. (No, she isn't terribly happy with hers either. Her PC works, but they did a little visual marketing bait and switch on her with the stylus -- not that she actually needed one, but she got excited thinking she was getting one with her model of Yoga. She bought it for other reasons.)

I'd be interested to hear other's experiences with pre-installed Linux (any brand of PC) and separately Lenovo support of Linux (Ubuntu vs. Fedora). (Yes, I see some older threads with more positive results, but frankly a lot of them read a bit like marketing vs. real experience, and I'm curious if things have shifted at Lenovo recently for some reason. Seems like they've been really trying to force the bottom line to show immediate profits.)

Sincerely,

R. C. Blasdell, Ph.D.

https://redd.it/l5ti5c
@r_linux
dpkg-deb: error: tar subprocess was killed by signal (Segmentation fault)

I have a server running on a Raspberry Pi 4 B+

Went to do my weekly update/upgrade and came back with the following errors when using both apt and apt-get.

usr@server:~ $ sudo apt upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
firmware-atheros firmware-brcm80211 firmware-libertas firmware-misc-nonfree
firmware-realtek raspi-config
6 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 15.5 MB of archives.
After this operation, 11.3 kB of additional disk space will be used.
Do you want to continue? Y/n Y
Get:1 http://archive.raspberrypi.org/debian buster/main armhf firmware-atheros a ll 1:20190114-1+rpt11 3,887 kB
Get:2 http://archive.raspberrypi.org/debian buster/main armhf firmware-brcm80211 all 1:20190114-1+rpt11 4,600 kB
Get:3 http://archive.raspberrypi.org/debian buster/main armhf firmware-libertas all 1:20190114-1+rpt11 3,424 kB
Get:4 http://archive.raspberrypi.org/debian buster/main armhf firmware-misc-nonf ree all 1:20190114-1+rpt11 3,071 kB
Get:5 http://archive.raspberrypi.org/debian buster/main armhf firmware-realtek a ll 1:20190114-1+rpt11 496 kB
Get:6 http://archive.raspberrypi.org/debian buster/main armhf raspi-config all 2 0210119 27.9 kB
Fetched 15.5 MB in 4s (4,406 kB/s)
dpkg-deb: error: tar subprocess was killed by signal (Segmentation fault)
Traceback (most recent call last):
File "/usr/share/apt-listchanges/DebianFiles.py", line 124, in readdeb
output = subprocess.checkoutput(command)
File "/usr/lib/python3.7/subprocess.py", line 395, in check
output
kwargs).stdout
File "/usr/lib/python3.7/subprocess.py", line 487, in run
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command ''dpkg-deb', '-f', '/var/cache/apt/archi ves/firmware-atheros_1%3a20190114-1+rpt11_all.deb', 'Package', 'Source', 'Versio n', 'Architecture', 'Status'' returned non-zero exit status 2.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/bin/apt-listchanges", line 281, in <module>
main(config)
File "/usr/bin/apt-listchanges", line 96, in main
pkg = DebianFiles.Package(deb)
File "/usr/share/apt-listchanges/DebianFiles.py", line 215, in init
parser.readdeb(self.path)
File "/usr/share/apt-listchanges/DebianFiles.py", line 128, in readdeb
{'what': file, 'errmsg': str(ex)}) from ex
NameError: name 'file' is not defined

During handling of the above exception, another exception
occurred:

Traceback (most recent call last):
File "/usr/bin/apt-listchanges", line 291, in <module>
traceback.printexc()
File "/usr/lib/python3.7/traceback.py", line 163, in print
exc
printexception(*sys.excinfo(), limit=limit, file=file, chain=chain)
File "/usr/lib/python3.7/traceback.py", line 104, in printexception
type(value), value, tb, limit=limit).format(chain=chain):
File "/usr/lib/python3.7/traceback.py", line 508, in init
capture
locals=capturelocals)
File "/usr/lib/python3.7/traceback.py", line 363, in extract
f.line
File "/usr/lib/python3.7/traceback.py", line 285, in line
self.
line = linecache.getline(self.filename, self.lineno).strip()
File "/usr/lib/python3.7/linecache.py", line 16, in getline
lines = getlines(filename, moduleglobals)
File "/usr/lib/python3.7/linecache.py", line 47, in getlines
return updatecache(filename, module
globals)
File "/usr/lib/python3.7/linecache.py", line 137, in updatecache
lines = fp.readlines()
File "/usr/lib/python3.7/codecs.py", line 322, in decode
(result, consumed) = self.bufferdecode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xf2 in position 4143: inval id continuation byte
dpkg-deb: error: tar subprocess was killed by signal (Segmentation fault)
dpkg: error processing archive /tmp/apt-dpkg-install-5ajyR9/0-firmware-atheros1 %3a20190114-1+rpt11all.deb (--unpack):
dpkg-deb --control subprocess returned error exit status 2
dpkg-deb: error: tar subprocess was killed by signal (Segmentation fault)
dpkg: error processing archive /tmp/apt-dpkg-install-5ajyR9/1-firmware-brcm80211 1%3a20190114-1+rpt11all.deb (--unpack):
dpkg-deb --control subprocess returned error exit status 2
dpkg-deb: error: tar subprocess was killed by signal (Segmentation fault)
dpkg: error processing archive /tmp/apt-dpkg-install-5ajyR9/2-firmware-libertas 1%3a20190114-1+rpt11all.deb (--unpack):
dpkg-deb --control subprocess returned error exit status 2
dpkg-deb: error: tar subprocess was killed by signal (Segmentation fault)
dpkg: error processing archive /tmp/apt-dpkg-install-5ajyR9/3-firmware-misc-nonf ree1%3a20190114-1+rpt11all.deb (--unpack):
dpkg-deb --control subprocess returned error exit status 2
dpkg-deb: error: tar subprocess was killed by signal (Segmentation fault)
dpkg: error processing archive /tmp/apt-dpkg-install-5ajyR9/4-firmware-realtek1 %3a20190114-1+rpt11all.deb (--unpack):
dpkg-deb --control subprocess returned error exit status 2
dpkg-deb: error: tar subprocess was killed by signal (Segmentation fault)
dpkg: error processing archive /tmp/apt-dpkg-install-5ajyR9/5-raspi-config20210 119all.deb (--unpack):
dpkg-deb --control subprocess returned error exit status 2
Errors were encountered while processing:
/tmp/apt-dpkg-install-5ajyR9/0-firmware-atheros1%3a20190114-1+rpt11all.deb
/tmp/apt-dpkg-install-5ajyR9/1-firmware-brcm802111%3a20190114-1+rpt11all.deb
/tmp/apt-dpkg-install-5ajyR9/2-firmware-libertas1%3a20190114-1+rpt11all.deb
/tmp/apt-dpkg-install-5ajyR9/3-firmware-misc-nonfree1%3a20190114-1+rpt11all.d eb
/tmp/apt-dpkg-install-5ajyR9/4-firmware-realtek1%3a20190114-1+rpt11all.deb
/tmp/apt-dpkg-install-5ajyR9/5-raspi-config20210119all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Attempted a Google search and that yielded old posts from years ago that I don't think would work today. Any insight on how to rectify this issue would be greatly helpful. Thanks in advance.

https://redd.it/l5uh3e
@r_linux
Why is there no Linux advertisement?

I'm pretty sure that the biggest reason why the Linux marketshare is so low,is cause no one advertises that.

I mean before I started using Linux,I thought that it's for hackers,and the funny thing is that I only looked it up,cause I wanted to search for "the os that hackers use" and then I found out that the de's look better than windows and hackers only use it,cause it's better,but it's not only for hackers,but for everyone.

And that problem probably comes from that there is no advertisement that shows how good Linux is.

I mean I never saw any advertisement of Linux in my whole life,I even saw that crappy brave add more lol.

And it would definitely make the marketshare bigger,I mean look at chromeOS,it came out some years ago but it got bigger than Linux marketshare,cause of the adds,if there were no chromebook adds it would be smaller.

So why is that so?

I mean there is the benefit that Linux gets bigger and stomps windows and then we have won.

I mean why do bussinesses that sell Linux related products not make adds for it? (Or why are there so little adds that I don't even see them?)

https://redd.it/l5fhc2
@r_linux
My friend wants to use Linux (he wants to leave windows)

What is the most Beginners friendly distribution? He needs to use ms teams for work, and likes to play games regularly, I have mint right now(i dont have experience with other distributions because im also relatively new) what are your recommendations for beginners?

https://redd.it/l5xbm0
@r_linux
Remote US job: Embedded Linux Engineer - Customer Success

(hope this post doesn't violate the community rules)

Hello everyone, we're looking for an Embedded Linux Engineer with a customer-facing experience. Someone who could assist our clients during onboarding and solve their problems during their use of our software.

More about the company - we're Northern.tech, a company behind two products - CFEngine and Mender. We're looking for someone to join the Mender team.

We need someone based in the US to assist our US customers but the position is remote.

More info can be found here. Please drop us an email to contact@northern.tech if you feel like it's a right position for you.

https://redd.it/l61y1t
@r_linux
Advice on teaching a new Linux user

I have a colleague who wants to learn about Linux and I’ve been showing her stuff. She has to have Windows at work because of engineering software. So, I set her up with WSL and she apparently ran with it because she installed Ubuntu on her personal laptop. She really likes Linux so far and is playing with terminal commands.

What are some good next learning steps after that? I get the sense, “Do vimtutor” would be discouraging.

https://redd.it/l63eve
@r_linux
Anyone know of a small library to preview/quick-view 3D model files, supporting .stl?

I'm trying to find a way to quickly preview all the STL files on my machine. Similar to gnome sushi (pressing spacebar to preview an image)...

Closest I found is g3dviewer, but it doesn't seem to support STL, oddly. Not sure why, it's a pretty common format for 3d these days, especially for people doing CAD/3d-printing, but maybe that's why... the project seems old... considering breaking open the code to add stl support, but thought I'd ask first.

https://redd.it/l64htt
@r_linux
having hell of a time install a particular version of wireshark

Hey everyone,


I work for a company that required a specific version of wireshark to be installed on the system, we inherited a system that has the most up to date version.


I can remove that version using apt-get uninstall wirehshark


however, how do I manually install wireshark version 2.6.10


I have the tar, and from what I can read online you run ./configure


however there is no configure in the wirehsark directory after it upacks.


what gives?

https://redd.it/l69m2j
@r_linux
Changing ip to domain

Hey everyone. I have finished a lemp setup on ubuntu. It's a WordPress website. Now the challenge I'm facing is that the website is accessible from ip but I want to give my users a domain name. How can I attain this?
Also I have this window server on aws which has a domain running a website let's call it xyz.com. Is that possible to make xyz.com/blog to redirect to my lemp.

https://redd.it/l6awuw
@r_linux
Learning Linux

So within the past couple weeks I have been thinking of switching to Linux but I literally have no idea on where to start. I enjoy using Windows but I have been wanting to get more technical with things as I dont think I will ever get anywhere in the career I want to if I dont push myself to learn.

Hoping someone can help me on where to start with Linux and if dual booting is still a good idea in 2021??

https://redd.it/l68p0n
@r_linux
Windows if falling in a way I've never seen before

First of all I use 2 operating systems rn, Linux and Windows, I used to use 3 but I decided I need a break from MacOS and it was a bad decision.

I bought a machine for 1.2K$ 2 years ago moving from my MBP. I felt good and started poking around with Windows to personalize it a little. After 2 years my computer starts to feel outdated. Windows updates constantly are breaking things, search bar is an utter nightmare, when I try to search for a file it never does a good job, when I try to search for a program in my computer that I installed 2 seconds ago it says I don't have it.

Windows store provides zero to none apps that you can actually use and enjoy.

I have constants problems from juggling between two settings menus, one from 2010 and the newer one from Windows 10. They never bundled it together.

Windows feels like a bloatware compared to Linux or MacOS. It feels like an old truck driven by a drunk into a steep hill of darkness. I honestly hate it and looking how it was surpassed by competition it makes me sick. I am making a Linux hopping party with a friend soon and I don't want to look back, ever.

Literally nothing except gaming works well in this enviroment. Everything feels old, clunky and shitty on a machine that should be still flying. I have no viruses, I never bloated the machine with anything and it gets eaten out by a 2013 MBP.

In 2 weeks tops I am out of Windows for life.

I am happy to see a community like that existing because it gives me courage to ditch something that I was so sure I will be using my whole life.

https://redd.it/l6g0c4
@r_linux
A redditor is sending a lunar time capsula - GPL License to the moon

hello there,
i hope this is allowed here
because i thought it would be funny:
https://redd.it/l52iym
u/Valphon is sending a time capsula to the moon
so my idea was to "archive" something.. not a meme... Some historical reference, even if it will be never red! https://reddit.com/r/space/comments/l52iym/you_can_send_something_to_the_moon_for_free_im/gktrtcd?context=3
i want the GPL2 licence from the linux git repo up there.
If you got good ideas, send him a reply or a PM.

https://redd.it/l5fisr
@r_linux
exeCute now runs transparently exe and bat files on Linux

&#x200B;

https://preview.redd.it/dz2k5etnryd61.png?width=1080&format=png&auto=webp&s=fd3d6346760c13a20a8f516e234b48cf705560d7

Using bare wine and dosbox usually gives problems when launching a mixture of Windows and MS-Dos applications.

Launching a Dos program on Wine sometimes fails, as Wine performs all kinds of custom configurations intended to use Dos programs in particular cases.

So a while ago I created exeCute for being able to tell the difference among the two types, and launching the exe directly into the right emulator. With the parameters that will look closer to a native experience.

But still running Dos programs was difficult if they required a disk image, as that needed making a custom noscript for each game under this category.

Today I have fixed that. If you launch such program, exeCute will look for disk images in the same folder and mount them on D. If there are none, the exe folder will be used as D instead for maximum compatibility.

In summary, now launching exes on Linux only requires clicking on the desired exe.

Here's a demo:

https://youtu.be/eAvdANYTXqg

https://redd.it/l6ifu8
@r_linux
Thoughts on PulseAudio, Solutions, problems, alternative and everything in between...

What are everyone’s experiences with PulseAudio? Mainly I see it get a lot of hate and have had some bad adventures with it myself but what do you think? Have you found an alternative? What problems did you face?

https://redd.it/l6i0kq
@r_linux
Light Linux Distros

I am a Windows user and I am tired of it's battery and resource consumption on my laptop even when I'm doing something as simple as writing down notes in Word. That's why I am compiling a list of the lightest Linux distros so I can test the boot time, memory usage, CPU usage, and software load times to find a fast and efficient Linux OS for my laptop when I'm at school so I can have an easier load on my battery when I'm out all day at classes. I will report my findings here once testing is completed.

So far for testing I have:

Linux Lite 5.2

Puppy 9.5

Debian 9

Peppermint 10

&#x200B;

Tell me your favorite lightweight distro to be included in my testing! (I've really never used Linux... like... ever so this will be interesting to test out)

https://redd.it/l6lp3t
@r_linux