APT (Advanced Packaging Tool) is the standard software package management system for Debian and its derivatives.

learn more… | top users | synonyms (1)

3
votes
1answer
172 views

Meaning of the extra apt-get options in early APT history

Following is the first few entries in /var/log/apt/history.log from a fresh installation of Debian 7.0: Start-Date: 2013-05-09 20:02:18 Commandline: apt-get -o APT::Status-Fd=4 -o APT::Keep-Fds::=5 ...
167
votes
3answers
198k views

Check package version using apt-get/aptitude?

Before I install a package I'd like to know what version i would get. How do I check the version before installing using apt-get or aptitude on debian or ubuntu?
0
votes
1answer
615 views

Lubuntu PowerPC with no apt repositories?

I've installed Lubuntu 13.04 on my G4 Mac Mini, however it didn't have any apt repositories, except from the CD. I've copied over the repositories from my i386 installation, but it can't find some of ...
2
votes
1answer
115 views

Why does apt-get remove only a few kB?

I installed nginx (sudo apt-get install nginx) and then removed it with sudo apt-get remove nginx. I to need ensure that the application is uninstalled and cannot run. (I'm still able to run service ...
0
votes
2answers
198 views

Installer packages: .bin, -rpm.bin, tar, tar.z

Is it correct that most of Unix&Linux software supports x-copy deployment? If I download the installation package and uncompress the files into a particular directory - would that be enough to ...
0
votes
2answers
314 views

Upgrading error

When I do apt-get update // apt-get upgrade i received this error whatever I do: root@debian:~# apt-get upgrade Reading package lists... Done Building dependency tree Reading state information... ...
2
votes
1answer
253 views

Explanation of the default Debian sources?

So I've looked online and haven't found a clear explanation of the default Debian source list. Specially, what do main, updates. proposed-updates and security mean in the context of ...
1
vote
2answers
515 views

Uninstalling software packages, without removing the downloaded .deb in apt-cache?

Currently I am running Wheezy 32-bit, and recently I installed FreeSWITCH from the official repos. However, I realized that for the purpose I had in mind, I needed to rebuild FreeSWITCH myself, from ...
4
votes
4answers
927 views

What package managers do popular Unix Distributions Use? [closed]

I am creating a Script and I need to know what package manager each Popular Unix Distribution Uses (especially those distros that are commonly-used for Servers)... I mean: Debian uses apt-get Fedora ...
-1
votes
2answers
3k views

Can't install software in Debian 6

I installed Debian 6 Squeez on my virtual machine and I can't install software using aptitude or apt-get. This is my sources.list file: root@debian:/etc/apt# cat sources.list # # deb cdrom:[Debian ...
6
votes
1answer
1k views

Output visual (ASCII) Debian dependency tree to terminal?

I'm not sure if this is more of a SuperUser or UnixLinux question, but I'll try here... Recently, I found this: #710689 - aptitude: use unicode character in the trees - Debian Bug report logs It ...
3
votes
2answers
232 views

How to make apt recognize an installed tar package?

I've installed Oracle Java. I want to be able to remove OpenJDK, but when trying to do so apt wants to install another version of Java. How can I configure apt so that it knows I already have a ...
1
vote
1answer
86 views

Setting up a repository server

Is it possible to set up a server to mirror a distro's repository, but only download/store requested upgrades or new packages rather than download them all? So all computers on the LAN can connect to ...
2
votes
1answer
46 views

What is Archive field in Release file used for?

For example current Release file for Wheezy is following: Archive: stable Origin: Debian Label: Debian Version: 7.1 Component: main Architecture: amd64 Now I can't find description of this Archive ...
2
votes
1answer
288 views

Pinning and local repos

I can't quite wrap my head around pinning in Debian. I'm trying to automatically install a package first from our local project repo, then from our local stable repo and then from official Debian ...
0
votes
3answers
391 views

How can I first download KDE files and then install them offline on Ubuntu?

How can I first download KDE files and then install them offline on Ubuntu?
5
votes
1answer
13k views

Not able to lock /var/lib/dpkg/lock (read only)

I was trying to install ruby on my remote server(this is a vm machine(debian) in a esxi server . ) I got this error: The Command: sudo apt-get install ruby1.8 Error : W: Not using locking for read ...
0
votes
2answers
545 views

apt-get failed to fetch package

I want to install curl on my ubuntu: sudo apt-get install curl It gave the following error: Err http://it.archive.ubuntu.com/ubuntu/ maverick/main curl i386 7.21.0-1ubuntu1 404 Not Found [IP: ...
1
vote
1answer
1k views

Troubles with unresolved dependencies on Debian 6 Sqeeze

I'm working with a VirtualBox 4.2.14 VM and Debian 6 Sqeeze as guest system and trying to (re-)install Nginx, but it's not working: root@devmv:~# apt-get install nginx Reading package lists... Done ...
0
votes
1answer
716 views

Installing libxml2 on secure Debian box

I have a very stripped Debian distro on a small custom computer that I purchased (don't know much about this distro as it was recommended on some site). The name is 'sid' and runs 2.6.37.1 kernel. ...
3
votes
1answer
5k views

Are Ubuntu PPA Repositories usable on Debian wheezy?

I'm using Debian wheezy and i wonder are Ubuntu PPAs hosted at Launchpad safe to be added & used on Debian?
2
votes
2answers
256 views

What is the equivalent of apt-file in portage, if any? [duplicate]

Hunting for dependencies when compiling software from the scratch is practically unavoidable. In Debian-based Linux distributions which use the apt-get utility to manage packages, there is also a nice ...
1
vote
2answers
7k views

Failing on apt-get update

Very recently when I have been attempting to check for updates on my laptop (Ubuntu 12.04), the check fails. sudo apt-get update: W: GPG error: http://us.archive.ubuntu.com precise Release: The ...
2
votes
1answer
266 views

apt-get can not detect correct python version when using update-alternatives for python

I have installed different python versions on my Linux Mint DE. I used the update-alternatives --set statement to easily switch between the different versions. Unfortunately sometimes apt-get install ...
-1
votes
1answer
1k views

I can't install Mono because something's wrong with the kernel (I think)

$ sudo apt-get install mono-runtime Reading package lists... Done Building dependency tree Reading state information... Done You might want to run 'apt-get -f install' to correct these: The ...
1
vote
1answer
121 views

Why is this apt-cache dumpavail with overrides not working?

I am trying to list available packages from a remote repository without accessing /etc/apt or /var.The following command doesn't return anything and exits with code zero. apt-cache dumpavail -o ...
4
votes
5answers
845 views

Why do I constantly have to update my apt cache?

When I want to install a new package, I'm usually greeted with a response like: oliver@cloud:~$ sudo apt-get install unison Reading package lists... Done Building dependency tree Reading state ...
-1
votes
1answer
3k views

Equivalent of these commands in the following distros [closed]

These commands: dpkg -i apt-get install apt-get update apt-get remove apt-get dist-upgrade apt-get purge in these distros: Opensuse, Fedora, Gentoo, Arch, Slackware.
0
votes
2answers
74 views

apt config file location

I have my / mounted as read-only (and my /root as well). Every time I start aptitude, it complains that it cannot write to /root/.aptitude/. Is it possible to tell aptitude to use another directory ...
2
votes
1answer
48 views

How can I know the dependency packages for an installed package?

Let's say I installed foo. The foo package depends on bar, so bar was installed to satisfy foo's dependency. How can I get Ubuntu/APT/dpkg to tell me that bar is installed because foo is installed? ...
1
vote
2answers
2k views

Debian - install missing man pages?

I run RaspBMC - a distro based on Raspbian, that's a custom minimal Debian for the Raspberry Pi. If I recall correctly, the man utility is NOT installed by default with RaspBMC (although I may be ...
9
votes
2answers
9k views

Can I rollback an apt-get upgrade if something goes wrong?

Is there a way, before starting an aptitude upgrade or apt-get upgrade, to set up something so that you can "easily" rollback your system to the "apt" state it was before the actual upgrade, if ...
0
votes
1answer
652 views

Lotus Note installation on Linux Mint 14?

I'm trying to install IBM Lotus Note 8.5.3 on Linux Mint 14 using terminal. Problem is that it's not installing and showing following error sudo apt-get install ibm-lotus-notes-8.5.3.i586.deb Reading ...
2
votes
1answer
294 views

What is the debian equivalent to this repoquery command?

What is the debian equivalent to this repoquery command? repoquery --repofrompath="abc,http://path/to/repo" --repoid=abc -q mypkg --qf ...
1
vote
1answer
99 views

How can I build fdupes from source on Ubuntu?

I would like to make a few changes to the fdupes code. I know I can grab the source code from the website - but is there a better way on Ubuntu / Debian? After getting the source this way where is ...
5
votes
1answer
5k views

apt-get via ssh-tunnel if only port 22 is allowed

I have a server which has only access to the outer world via port 22 (for the use of ssh from the server to other computers). I want to install some packages via apt-get on this server. Can I achive ...
2
votes
1answer
3k views

error while using apt-get install for any package

I have tried to install texlive-full with apt-get and the installation stopped due to some errors. Later I removed all folders and files related to texlive, texmf manually. Since then I get the ...
3
votes
2answers
713 views

How do I remove persistent config data from APT?

When I remove packages from my system with APT-based programs, they often leave behind some kind of residue (referred to as "residual config") that seems to serve no purpose other than annoying me. ...
3
votes
2answers
777 views

Automatic Update Script using Cron, Exit Codes, and Logging

I'm managing multiple machines running Debian, Raspian, and Mint. On some of the machines I want to have updating and upgrading automatically. I've drafted a script that I want to do this and log if ...
4
votes
2answers
220 views

apt-get: install modified package with dependencies

I have downloaded a Debian package lxde, together with all its dependencies: apt-get install --no-install-recommends lxde --download-only So now, I have all packages in my /var/cache/apt/archives. ...
2
votes
3answers
13k views

How to install google chrome with apt-get?

My Linux version is Ubuntu: > cat /etc/lsb-release DISTRIB_ID=Ubuntu DISTRIB_RELEASE=9.04 DISTRIB_CODENAME=jaunty DISTRIB_DESCRIPTION="Ubuntu 9.04" running as virtual machine. I did as said ...
2
votes
1answer
133 views

How can I forcibly remove a package from Ubuntu by hand?

I posted this on ServerFault and got some helpful-looking questions, but no answer in terms of what can I do. What, on a low level, can I do to completely exorcise a package that is jamming aptitude ...
0
votes
1answer
397 views

Can't pin Wheezy on Linux Mint Debian Edition (LMDE)

I'd like to have your advice on yet another pinning problem that hit me recently. I've been through man apt_preferences several times, and I can't find anything wrong in what I did. I was having ...
4
votes
3answers
1k views

How to list currently not installed packages?

I'd like to output a list of all, currently not installed, packages (they are visible in Synaptic for example) using only shell commands. How do I do this?
6
votes
2answers
182 views

How to install Suggests dependencies of a package

If I want to install a package and its Suggests dependencies, I run: $ sudo apt-get --install-suggests install <package name> However, if <package name> is already installed, and not ...
1
vote
3answers
467 views

download packages for different distribution with apt

I want to download a .deb package with it's dependencies for a different distribution. I have many Linux systems in my company: Ubuntu 11.04, 11.10, 12.10, and Debian 5 and 6. The command to ...
2
votes
1answer
416 views

Why does 'apt-get install' suggest packages that I already have?

On Ubuntu Desktop 10.04.1, I have just run apt-get install to install a package. Amongst the list of suggested packages is ssh. I'm confused, because I am sure that I already have ssh installed: # ...
3
votes
2answers
85 views

How do I find out where the contents of a package are installed?

I ran into this bug, where Cantor can't find the sage backend if both are installed through the ubuntu package system. I can get around this bug if I know the path to the sage executable, but even ...
2
votes
0answers
364 views

Including pending update list in motd

How would you include the list and / or count of pending updates in the welcome banner? Eg. username: User password: ***** Hi 'User', welcome on 'localhost' There are 8 pending updates, you need to ...
0
votes
1answer
2k views

Small update.. Now cannot download/update

Earlier today I was ssh'ing into my box and discovered that the internal IP had changed from what it was, I decided I wanted to make this static and found a tutorial (kind of) how to: nano ...