Tag Info

New answers tagged

0

I changed default DNS server to the Google DNS servers 8.8.8.8 8.8.4.4 Now i can install everything again.


0

This worked for me: sudo ( apt-get update && sudo apt-get dist-upgrade ) then log out and log in again. Though see also Why is there a persistant apt error indicator when I have since repaired my system?


0

The "best server" approach worked good for me also. Just to make it clear for new users to do this you have to change your etc/apt/sources.list That is shown in the first comment by mikewhatever Here is the link. How can I get apt to use a mirror close to me, or choose a faster mirror? Thank you for the help.


1

It was a workspace-related issue for me. I have 3 monitors arranged such that they don't add up to a rectangular X-screen. When I press Super+S to get the workspace switcher, I can see the "invisible dead space" in a corner. The software updater had the misfortune of being opened in one of these dead corners! +--------+--------+ | | | *SU* ...


0

Update guest additions in the VM. If your guest is running ubuntu: sudo /media/$user/$vboxversion/VBoxLinuxAdditions.run


1

apt-get upgrade does not update the kernel. apt-get dist-upgrade updates the kernel in Ubuntu. Linux kernel versions before 4.1 need a reboot when the kernel is updated. Other packages don't need a reboot, just a restart of the application itself. Some Windows applications running on Wine request a reboot but just type the command: wineserver -k and ...


0

I had this problem after a ppa-purge command. I resolved it following the official Ubuntu Community Help on this page: The following are the commands listed. Step 9 Ubuntu Software Center fails to open If the Ubuntu Software Center fails to open, then please execute these Terminal commands: sudo rm /usr/lib/python*/dist-packages/__pycache__/*pyc sudo ...


0

Aha, I found the solution myself! What I did was I rebooted from a live USB and repaired grub (according to this guide), as I noticed that line in the message generated by sudo dpkg --configure -a namely Warning: Setting GRUB_TIMEOUT to a non-zero value when GRUB_HIDDEN_TIMEOUT is set is no longer supported. and it made me wonder what would happen if I ...


2

Unfortunately this bug has not yet been resolved. As you can see, this is due to an issue with using Adwaita, BUT: I found that switching to the Vertex theme was not only an acceptable solution, but I think I prefer it to other options right now: Instructions are here: Github Installation Section, but I simply used the xUbuntu packages here for Ubuntu ...


1

restricted/source/Sources is actually missing on server side Try this (use sources.gz instead): sudo apt-get -o Acquire::CompressionTypes::Order::=gz update if it solves the issue alter apt.conf and add/alter line ` Acquire::CompressionTypes::Order { "gz"; "bz2"; };


1

What are those packages to be autoremoved? man apt-get autoremove autoremove is used to remove packages that were automatically installed to satisfy dependencies for other packages and are now no longer needed. So it's totally safe to get rid of those unused packages. Run those commands: sudo apt-get autoremove sudo apt-get ...


0

Open your Ubuntu Software Center Then go to menu: Edit > Software Sources > Other Software Or just run the command software-properties-gtk Then move to other software tab Select and Remove duplicate entries.


0

I had the same problem. For me, this command worked: $ sudo apt-get update --fix-missing If above method doesn't work for you, then you can try this other solution. Go to applications->accessories->terminal or press CTRL+ALT+T. Type the following line and press enter to solve this problem. $ sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com ...


0

This is some problem in yout cache run those commands to solve it: sudo apt-get clean sudo mv /var/lib/apt/lists /var/lib/apt/lists.bak sudo mkdir -p /var/lib/apt/lists/partial sudo apt-get clean sudo apt-get update source and more info


0

The PPA has the name ppa:upubuntu-com/office There is a matching list file in your /etc/apt/sources.list.d/. Remove the file sudo rm /etc/apt/sources.list.d/upubuntu-com-ubuntu-office-trusty.list and run sudo apt-get update


6

apt-get actually notifies you on terminal when after installing a certain package, if it requires to reboot. update-manager is an all-in-one type of solution that takes care all of your upgrade needs by itself. I do prefer apt-get though , don't know why :)


45

Because apt-get is for the pros and when they do a sudo apt-get dist-upgrade and see a new kernel being installed, they know they have to reboot to activate it... The automatic update is for everyone else out there! ;-)


11

When you install a new kernel you have to restart the machine in order for the changes to take effect, apt-get just doesn't nag about it.


23

Update manager suggests to restart when kernels are upgraded or some other system packages with services that are marked for reboot when upgraded. Command line apt-get upgrade does not suggest anything, because it is targeted to more advanced users that can decide themselves when to restart the system ;-) But after upgrade using apt-get Update Manager in a ...


0

As described in my comment: apt-get install is for installing software which is not yet present on your computer. For doing the same job as update-manager does, you have to run apt-get upgrade i personally prefer apt-get dist-upgrade because it also installs kernel upgrades etc. Probably update-manager acts more like dist-upgrade. man apt-get is a good help ...


0

Seems that these PPAs don't have packages for 15.04 vivid yet. https://bugs.launchpad.net/pidgin/+bug/1454598 The launchpad repos give a 404 for Pidgin since my dist-upgrade to 15.04: W: Failed to fetch http://ppa.launchpad.net/pidgin-developers/ppa/ubuntu/dists/vivid/main/source/Sources 404 Not Found W: Failed to fetch ...


0

It would be easier to use --reinstall sudo apt-get install --reinstall youtube-dl then use it: youtube-dl -cit --extract-audio --audio-format mp3 https://www.youtube.com/playlist?list=PLttJ4RON7sleuL8wDpxbKHbSJ7BH4vvCk


1

I solve that problem by using commands. (Step 1)sudo apt-get remove youtube-dl After that (step 2) sudo apt-get install youtube-dl step (3) Downloading play-list..... youtube-dl -cit --extract-audio --audio-format mp3 https://www.youtube.com/playlist?list=PLttJ4RON7sleuL8wDpxbKHbSJ7BH4vvCk DONE.


0

I got this idea from the answer by meskobalazs. You can try running this command in the terminal server=$(cat /etc/apt/sources.list | grep -m 1 deb\ h) ; echo ${server:11:2} grep -m 1 returns only the first match. ${server:11:2} returns the first two letters after deb http://. when I run the command, the output is sg cut out from deb ...


0

You can use the --print-uris option of apt-get $ sudo apt-get --print-uris update||grep Packages.bz2|awk '{print $2}'|sed -e 's/_ubuntu_dists_vivid\(-\|_\)\?/ /' -e 's/_binary-.*_Packages//'|sort -u This will not update the package list


0

This is really just a fine tuning of your approach: cat /etc/apt/sources.list | grep deb | cut -d' ' -f2 The cut -d' ' -f2 part cuts out the second column from the line containing the word deb.



Top 50 recent answers are included