I Killed the Terminal During VLC Download - Now It Won't Re-Download
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Almost all your error messages seem to be related to snappy. I recommend installing a distro that does not use snaps or flatpaks or some such by default.
Quote:
Originally Posted by Trent29
ELI5
Man, that reddity-fashionable excuse for not doing your homework really ticks me off.
pan64, I've tried apt-get install. This is what I get (posted earlier):
user@user:~$ sudo apt-get install vlc
Reading package lists... Done
Building dependency tree
Reading state information... Done
No apt package "vlc", but there is a snap with that name.
Try "snap install vlc"
jefro, the command sudo rm -rf /var/lib/apt/lists/* effectively removed the contents of the lists folder. However when I tried to run the command sudo apt-get update" https://askubuntu.com/questions/4160...mismatch-error, all I got was a > followed by a solid cursor. Any more suggestions?
(Putting your commands and outputs in code tags here will make them easier to read -- see the link in my sig)
Quote:
Originally Posted by Trent29
jefro, the command sudo rm -rf /var/lib/apt/lists/* effectively removed the contents of the lists folder. However when I tried to run the command sudo apt-get update" https://askubuntu.com/questions/4160...mismatch-error, all I got was a > followed by a solid cursor. Any more suggestions?
As posted, you entered a command containing an opening quote with no closing quote...that's what caused the > prompt. The shell is waiting for the closing quote; you can just type it at the > prompt, but best would be to not leave it out in the first place.
And I suspect the command jefro wanted you to run was simply sudo apt-get update
without the quote or the url.
As I and others in here suggested, try a different distro that does not use snap or flat pack. They to me suck and should have never been implemented let alone conceived.
There are plenty more Linux distros that are worthy of using and work without snap or flat pack.
Arch
Manjaro
Arco Linux
Slackware
Even Debian which ubuntutu comes from. And other’s. Go to distrowatch dot com and look into it.
As I and others in here suggested, try a different distro that does not use snap or flat pack. They to me suck and should have never been implemented let alone conceived.
That would be the last option, if recovering was not successful. (From the other hand this is not a solution to this issue, but probably a solution to the OP).
Quote:
Originally Posted by BW-userx
There are plenty more Linux distros that are worthy of using and work without snap or flat pack.
We know you hate ubuntu, but ubuntu is not that bad.
Additionally I would try to find a solution, but looks like it will take some time.
OK, thanks scasey. I misunderstood. I'll try that.
I'm trying to stick with Ubuntu, because I'm following a mentor's custom setup and configuration.
Yesterday, I gave the commands listed below and VLC actually started to download to about 40% with a strong internet connection downloading at 300-450 kb/s, then suddenly I got the panic: runtime error: index out of range message and everything below it. Then I tried to install ffmpeg and python3-pip - no luck with those either as you can see way down below. Anyone see anything below that I might have done wrong?
user@user:~$ sudo apt-get install -y ffmpeg
[sudo] password for user:
Reading package lists... Done
Building dependency tree
Reading state information... Done
No apt package "ffmpeg", but there is a snap with that name.
Try "snap install ffmpeg"
E: Unable to locate package ffmpeg
user@user:~$ sudo snap install ffmpeg
error: cannot install "ffmpeg": snap "ffmpeg" supported architectures () are
incompatible with this system (amd64)
user@user:~$ sudo apt-get install -y python3-pip
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package python3-pip is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'python3-pip' has no installation candidate
user@user:~$ cd /
user@user:/$ sudo su
root@user:/# sudo apt-get install -y ffmpeg
Reading package lists... Done
Building dependency tree
Reading state information... Done
No apt package "ffmpeg", but there is a snap with that name.
Try "snap install ffmpeg"
E: Unable to locate package ffmpeg
root@user:/# snap install ffmpeg
error: cannot install "ffmpeg": snap "ffmpeg" supported architectures () are
incompatible with this system (amd64)
root@user:/#
OK, thanks for all your responses. Much appreciated.
At this point I've put in a lot of time configuring the browser and it works great, so I'll probably give it some time before I decide to start over with a clean install.
I just wanted to report to everyone who's helped me on this that I've reached the conclusion that Ubuntu 20.04 is either inherently defective or too buggy (almost like an alpha version) to be used by new users. The whole reason I started trying it out is because I thought it would be easier than Debian.
I started from scratch again with a brand new d/l of the .iso, which was exactly the same # of bytes as the first one I used. Reinstalled it inside the VM with the same 2 errors found with the disk check, even though no errors found using chkdisk on the Windows host. No problems with communication to the internet or repositories, but the same old problems with Ubuntu and snap: vlc partially downloads via snap then resets and starts over and over and over from 0% no matter how long you wait for it, apt update won't complete and gives hash errors, nothing will download in spite of lots of uncommented mirrors, sources etc. And there doesn't seem to be any issue with the host or VM RAM
So this time I KNOW there were no newbie-induced install mistakes. Since I'm making progress on Debian, I think I'm going to cut my losses and forsake this lousy Ubuntu distro that in my opinion would cause any newbie who is even considering a switch in OS to run back to Windows and iOS with their tail between their legs.
I think Ubuntu's LTS versions should be stable enough for you.
However, I still criticise that they use snappy by default and without making the user aware of the fundamental differences to a normal software install.
I just switched my RPi 4B 4GB to ubuntu server 20.04 from raspbian. On raspbian sharing a ZFS mirror over NFS would crash often if you bounced around to a couple videos or around in a single video. Ubuntu is stable doing the same function. And I got ZFS going with the package management system, rather than from source.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.