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
246 views

How can I view packages from a specific repository?

In my /etc/apt/sources.list if I add the path: deb http://debian.meebey.net/pkg-mono ./ Can I view packages from this specific repository alone?
3
votes
3answers
188 views

Using the apt package manager refuse an update for a specific package

I am attempting to upgrade a few packages using the apt package manager. However there is a specific package in the list that I don't want to upgrade. In fact I don't want anyone to ever upgrade it. ...
3
votes
1answer
701 views

apt python error prevents me from resolving dependency problems for apt-get install

On Debian 6 servers dependency issues are preventing me from installing nis (or any package). When I try to resolve that issue I get a python error. How do I get past this issue and re-gain the ...
3
votes
2answers
681 views

How to run a command after apt-get upgrade

Recently I came across the nice checkrestart tool, that checks if running processes use an outdated version of a recently updated library and would need a restart to load them with the updated lib. At ...
3
votes
4answers
565 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 ...
3
votes
1answer
3k views

How to add an iso file as APT source

Say I have this line in "/etc/fstab": /iso/apt.iso /mnt/apt iso9660 loop 0 0 And I run these commands as root: mount --all apt-cdrom add --no-mount --cdrom /mnt/apt I expected the disk to be ...
3
votes
1answer
89 views

Why do I need to add a GPG-key with apt-key before adding URL to sources.list and download-installing an application with apt-get?

I went on to download an application today. It had it's instructions listed, step by step, number one being: adding a GPG-key with apt-key. It was followed by adding the application to apt/sources and ...
3
votes
2answers
130 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 ...
3
votes
2answers
2k views

How to install Cherokee web server on Debian Wheezy?

I'm trying to install Cherokee webserver on Debian Wheezy. All the docs and websites that I've visited suggest that apt-get install cherokee will do it, but when I do that, I see: $ apt-get install ...
3
votes
4answers
186 views

Get package sources and repository link

Is there any way (dpkg, apt?) to get a package's sources and URL to repository, if available, in Debian ?
3
votes
1answer
2k views

How to enable an federated storage engine in the Debian MySQL package?

How would I enable an extra (in this case FEDERATED) storage engine in the mysql-server-5.1 package from Debian? I've installed mysql-server-5.1 via apt-get. But the SHOW ENGINES shows that federated ...
3
votes
2answers
507 views

Install downloaded packages with dependencies

I sometimes download .deb packages from the internet and install them with dpkg -i package.deb If the packages have unmet dependencies. How can I install the dependencies automatically (similar to ...
3
votes
1answer
127 views

Link a dependency in Synaptic to the one already installed from source

I want to install SVN version of Quantum GIS and already I have a SVN version of GRASS GIS. As instructed in QGIS Wiki here, I added the qgis repository to my sources.list file. Now I am able to see ...
3
votes
1answer
249 views

How to control the list of locales which are generated by APT?

Each time I install or operate in other means l10n-related packages, the APT system "rebuilds" a lot of English locales, which takes considerable time. Look at the APT log: Configuring ...
3
votes
1answer
91 views

Why “backporting process does not consider upstream releases”?

From http://opensourcehacker.com/2013/03/20/how-to-backport-packages-on-ubuntu-linux/ backportpackage will download the latest version of the package from Ubuntu archives. The latest ...
3
votes
1answer
62 views

How to find files that are not owned by any package?

In my system I have files that not belong to any package, they are mine or from compiled programs installed with make install. How can I find all files that do not belong to any package?
3
votes
2answers
42 views

Get package version of file

I've deleted a file in /etc provided by package packageA. Is there a way that I can reinstall only that file, provided I know where it is and which package provides it? I'm running Ubuntu 12.04 and ...
3
votes
2answers
145 views

How to clone an apt repository to keep all old packages?

This may sound trivial, but I haven't found a solution anywhere yet. Is there a way to backup or clone an apt repository such that I get a clone that (1) contains all current packages and (2) keeps ...
3
votes
4answers
2k views

Automatically update GCC to a later release without upgrading distribution

My understanding is that C++11 support in G++ 4.7.2 wasn't great (it gives me a warning everytime I try to compile my C++ code, presumably there are good reasons for these warnings), so thought I ...
3
votes
1answer
773 views

Unmet dependencies after using a backports repository

I have added a backport repository to apt's sources.list to get an application: deb http://ftp.uk.debian.org/debian/ wheezy-backports main Long story short: I did not manage to install the ...
3
votes
1answer
38 views

Flag a package as being configured on Debian even if it's not

For various reasons, I have a package on my Debian system which cannot configure itself properly. I know why and I don't want to correct the problem right now. However, I want to avoid apt trying to ...
3
votes
1answer
423 views

Machine readable number of updates? Alternative to /usr/lib/update-notifier/apt-check?

/usr/lib/update-notifier/apt-check (from update-notifier-common package) was a fine tool. But it's going to be removed from Debian. /usr/lib/update-notifier/apt-check --human-readable 28 packages can ...
3
votes
1answer
539 views

How can I reverse the effect of apt-get build-dep <package>?

When I run: apt-get build-dep <package> privileged it installs the build dependencies for <package>. Now, I know that I can use apt-cache depends <package> to see binary ...
3
votes
2answers
112 views

Naming conventions / translation between dpkg and apt packages?

I've been trying to figure out package management in debian a little better. I figured out that you can list all the packages on your system by using the "apt-cache pkgnames" command: ...
3
votes
1answer
505 views

Can I upgrade to a newer Ubuntu version on a Ubuntu-based distribution?

I'm currently running elementary OS Luna, which is based on Ubuntu 12.04. Can I upgrade my installation to have a Ubuntu 13.04 base, but still use elementary OS's desktop environment and applications? ...
3
votes
1answer
133 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 ...
3
votes
2answers
316 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
505 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 ...
3
votes
1answer
496 views

Why can I only use apt-get when I use “su”?

Not sure what info you need here, if any. Just let me know. I have a proxy that bypasses the corporate net set in my profile file for both su and normal user. When I do a sudo or regular apt-get ...
3
votes
1answer
657 views

Are bsdutils, coreutils, and busybox all necessary in a Debian install?

I first installed Debian with a netinst CD without networking, then edited /etc/apt/sources.list to point to the main repository, then ran dhclient eth0 to set up networking. Then I installed less. ...
3
votes
1answer
3k views

Debian squeeze (stable) broken packages after installing something from wheezy (testing)

root@server:/home/ante# apt-get install build-essential Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be installed. This may ...
3
votes
1answer
372 views

Installing KDE on Ubuntu Natty from cdrom

Currently I have Ubuntu 11.04 - Natty, with Unity as the default environment; but I just want to install KDE along-side it, and I don't have perfect bandwidth. So I took Kubuntu 11.04 cdrom from my ...
3
votes
2answers
586 views

apt-get returns strange error

I am on kali linux and when I run apt-get update it returns this: W: Unknown flag value: yes W: You may want to run apt-get update to correct these problems after running apt-get update several ...
3
votes
1answer
977 views

Can I upgrade to a new version of Python on an old version of Ubuntu?

I have Ubuntu 8.04.3 LTS and ran this: $ sudo apt-get install python2.7 I got this: Reading package lists... Done Building dependency tree Reading state information... Done E: Couldn't find ...
3
votes
3answers
530 views

Trouble migrating from Yum to apt-get

I recently migrated from using Fedora to Debian. And I'm having some issues with the package manager. I used to be able to search for packages via yum using : yum search ...
3
votes
3answers
4k views

Fixing broken packages in a Debian testing distribution

I'm playing around with Linux Mint Debian Edition (LMDE) in a VirtualBox instance to try it out and see if it'd be good for a main operating system for me. I'm pretty competent with most system ...
3
votes
1answer
896 views

Banshee Won't Update (Linux Mint 12)

Anyone else having problems getting the latest version of Banshee from apt-get? I'm adding the Banshee PPA, using apt-get update, and then trying apt-get upgrade and then to be totally sure, ...
3
votes
1answer
921 views

listing packages in Debian, a la `dpkg -l`, but including the package origin/source

I want to list all packages of the form $ dpkg -l libav\* but in addition to this output, I would like the origin/source (I'm not sure of the preferred term) of each package. If the package doesn't ...
3
votes
1answer
181 views

Understanding the output of apt-cache depends and apt-cache showpkg

I'm using Lubuntu 13.10 which doesn't include gedit by default. But I have installed it using sudo apt-get install --no-install-recommends gedit Now, when I run apt-cache depends gedit, zenity and ...
3
votes
1answer
1k views

Is there a update manager whitout gnome dependencies for xfce?

I'm looking a update manager for Debian Xfce. I installed xfce on a computer which will be use by laypersons. Therefore, I want another way (graphical) to launch apt-get update && apt-get ...
3
votes
1answer
3k views

How to deal with a package “not upgraded” using aptitude?

I'm (still) on Debian Squeeze. When I try to upgrade the system, here's what I get: [09:20]/root# aptitude upgrade No packages will be installed, upgraded, or removed. 0 packages upgraded, 0 newly ...
3
votes
3answers
174 views

Install using synaptic ignoring dependencies

I was trying to install texmaker a latex editor in my debian system from synaptic. It shows in the dependency list texlive-base, texlive-common. etc as dependencies. But I have already installed ...
3
votes
2answers
3k views

How do I update my Debian kernel?

Essentially I have an Ubuntu laptop and a board running Debian. I have installed the same kernel module and a utility for managing it on each, using aptitude. Unfortunately, the versions of the ...
3
votes
1answer
266 views

Private Debian repository to serve selected packages to selected machines

I have a private Debian repository setup with a few custom built packages (along with other official Debian packages). All my machines have this repository(only) configured in /etc/apt/sources.list. I ...
3
votes
1answer
535 views

jetty repositories for Debian lenny 5.0?

This is my current sources.list, and I wish to install libjetty-java, libjetty-extra-java, and jetty, in that order. However, the packages are not found, and I resorted to downlaoding the debs from ...
3
votes
1answer
72 views

Consequences of setting up POSIX locales

Small background of the situation: We are using several UBUNTU servers having English as working language; however having en_US locale set in machines we encounter problems with apt-cacher-ng ...
3
votes
1answer
127 views

How to convince APT that a cross-arch package is installed manually?

I have a qemu-armhf chroot environment on an amd64 machine (it's mainly for compiling Raspberry Pi code). As such it can run both armhf and amd64 binaries but it's faster doing the latter. There are ...
3
votes
0answers
233 views

Having some trouble authenticating via proxy in order to use apt-get successfully on a corporate network

Our server is on a corporate network, which requires corporate proxy authentication (e.g. enter corporate username and password). This is not an issue on the Windows machines on that network - when a ...
3
votes
2answers
2k views

Cannot install mysql-server-5.5/the following packages have unmet dependicies

I'm using ubuntu 14.04. I tried entering mysql with the following command: mysql -u root -p and I got the following message: The program mysql can be found on the following packages: ...
3
votes
0answers
31 views

Find packages not maintained in main repo? [duplicate]

Possible Duplicate: listing packages in Debian, a la dpkg -l, but including the package origin/source E.g. Ubuntu Server offers only security updates for software contained in the main ...