Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 6758

APT is short for Advanced Packaging Tool, the package manager for Debian-based distributions. It is also the most used tool for installing packages in Ubuntu. Questions about using any of the apt commands should use this tag.

3 votes

Why removing the xfce4 package doesn't remove the XFCE desktop environment?

You will need to install aptitude first if you haven't: sudo apt-get install aptitude …
animaletdesequia's user avatar
2 votes

Error while running `sudo apt-get autoclean`

When you update your system, packages are stored in /var/cache/apt/archives and when the download is not completed, partially downloaded .deb files are moved to /var/cache/apt/archives/partial Try to … recreate the directory (which usually should be empty) like this: sudo mkdir /var/cache/apt/archives/partial Then, re-run the command. …
animaletdesequia's user avatar
3 votes

Where are packages downloaded by "apt-get download" stored?

The packages are stored under: /var/cache/apt/archives …
animaletdesequia's user avatar
0 votes

Undo fixing of broken dependencies and updates

Try to remove, boot into recovery mode and execute this: apt-get remove --purge screen (You won't need sudo since you're in recovery mode). … Then, you can try to install screen again, and paste here what exactly is the output of the error when you try a normal install like this: sudo apt-get install screen …
animaletdesequia's user avatar
0 votes

terminal will not allow upgrade of 1604 lts

Make sure you have not another instance of apt, apt-get or aptitude running in the background: ps aux | grep -e apt -e dpkg | grep -v grep If this command return some process, like in this example where … Then, run the upgrade again: sudo apt-get update && sudo apt-get upgrade …
animaletdesequia's user avatar
0 votes

Can't connect to any hostnames

If you're connected trough SSH, connection has to be working both ways, the problem is somewhere else. You should edit your post including exactly what error you get when you run your command.
animaletdesequia's user avatar
4 votes

Adding apt-get to sudoers file

You added apt-get in a way that doesn't ask you for a password, but that doesn't mean apt-get would have enough privileges to run. … Try to use an alias: alias apt-get='sudo apt-get' If it works, you can make the alias permanent by adding it to your .bashrc file …
animaletdesequia's user avatar
3 votes
Accepted

Why can't I install gwget?

I had a look myself and doesn't seem to be one, the most similar I can find is uget and multiget, also a graphical front-end downloader, you can try them: sudo apt-get install uget sudo apt-get install …
animaletdesequia's user avatar
2 votes

Can't install apps using sudo apt-get install: unable to lock the administration directory

Your computer may've crashed while apt, apt-get or aptitude was doing some updates and so it left the lock file in the disk. … Try this: sudo mv /var/lib/dpkg/lock /var/lib/dpkg/lock_backup Then try to install apache again: sudo apt-get install apache2 If everything works fine, just delete the backup file: sudo rm -vf / …
animaletdesequia's user avatar
1 vote

Install older version of PHP with apt-get

In synaptic, search for php, highlight the package and in one of the menus on top, try "Force Version", see if the one you want appears.
animaletdesequia's user avatar
0 votes

Trouble using "apt-get update"

You need to run the command as root: sudo apt-get update sudo apt-get upgrade …
animaletdesequia's user avatar
5 votes

Is is possible to have a different sources.list file on the same machine, and each assigned ...

You can have separated sources lists, but that only means than each repo you add will be defined in a sources.list file which makes more easy to purge a problematic repos. I did that using ubuntu-twea …
animaletdesequia's user avatar
2 votes

Install a package manager without package manager

Not sure if you want to use it in a graphic environment, but you could try this: sudo apt-get install aptitude synaptic Aptitude works in a terminal, either trough commands or with an ncurses environment … If what you mean is that you even lack off apt-get, which is weird... You'll need to download the corresponding .deb packages from the web for your architecture and install em with dpkg or gdebi. …
animaletdesequia's user avatar
0 votes
Accepted

Err http://ppa.launchpad.net raring/main amd64 Packages

You can see it here: http://ppa.launchpad.net/network-manager/ppa/ubuntu/dists/ Remove the ppa from your sources: sudo rm -vf /etc/apt/sources.list.d/nameoftheppa.list sudo apt-get update && sudo apt-get … upgrade Of course, you'll need to find out what is the "nameoftheppa" to delete it, you can find them all under /etc/apt/sources.list.d/ and open them for reading: nautilus /etc/apt/sources.list.d/ …
animaletdesequia's user avatar