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

learn more… | top users | synonyms (1)

1
vote
1answer
197 views

Why does bash output data instead of executing, when a script is piped?

I'm running the following script on Ubuntu 14.04: #!/bin/bash apt-get purge -y nginx apt-get install -y nginx date When I run it like cat /tmp/script | bash, apt-get starts installing, then "date"...
2
votes
2answers
955 views

How to examine an apt repository?

I am trying to set up riak on Debian wheezy. I've followed their instructions to add the basho apt repositories... $> curl http://apt.basho.com/gpg/basho.apt.key | sudo apt-key add - $> sudo ...
0
votes
1answer
3k views

apt-get failed to find any updates for Debian squeeze

# ls -F /etc/apt/ apt.conf.d/ preferences.old sources.list trustdb.gpg trusted.gpg~ preferences.d/ secring.gpg sources.list.d/ trusted.gpg trusted.gpg.d/ # cat /etc/apt/sources....
0
votes
1answer
2k views

Installing chromium-browser on Debian Wheezy Depends: chromium (>= 10) but it is not installable

On FriendlyARM mini210s # uname -a Linux mini210s 3.0.8-FriendlyARM #2 PREEMPT Mon Feb 25 14:25:10 HKT 2013 armv7l GNU/Linux # more /etc/debian_version 7.8 When running the package manager # apt-...
-1
votes
1answer
63 views

What's wrong with this sources.list?

I always get the error: W: Failed to fetch http://ftp2.de.debian.org/debian/dists/stable-updates /Release Expected entry »maindeb/source/Sources« couldn't be found in release file (wrong entry in ...
0
votes
1answer
45 views

is there a way to see a listing of packages ONLY from Debian-experimental?

I am on Debian testing/Jessie and I have debian-experimental as well as in my /etc/apt/sources.list. So I am looking to list packages in two ways :- a. List all the packages which are in experimental....
0
votes
0answers
630 views

Unable to install anything using apt

I was trying to install an earlier gcc and g++ (4.6.3) for compatibility reasons and now apt seems to be broken. It appears that apt-get install behaves like this for everything, not just dpkg: >&...
1
vote
1answer
313 views

apt pin priority for a single package in a source

I am trying to get firefox through the debian repo for mint to work within debian wheezy I'm using the following source line: deb http://packages.linuxmint.com debian import i've created a file in: ...
0
votes
1answer
185 views

How to remove chirp without removing another important system components?

I decided to remove some unwanted packages, e.g. sudo apt-get remove --purge chirp The according package is removed but also The following packages will be REMOVED: chirp kali-linux-full python-...
0
votes
0answers
448 views

errors while installing python-pip on ubuntu

When running sudo apt-get install python-pip I got the following error messages, what causes the problem and how to fix it? Thank you very much for any help. Err http://us.archive.ubuntu.com/...
2
votes
1answer
232 views

When removing a package via “apt-get remove”, why do you have to (sometimes) upgrade other packages in the process?

I could give a specific example, but I do think this is a common process and simply do not understand why it is done. Please comment if I should give a specific example when this is happening. Edit: ...
2
votes
4answers
149 views

How to find out which package a user belongs to?

In Linux distributions, some packages create user accounts. How can I determine which package created a given user? I want to know specifically for Fedora and Ubuntu, but answers for other ...
0
votes
1answer
48 views

Non-sense error messages for unmet dependencies in Debian Jessie

My problem is not understanding the error messages: It says I need blah-blah-1.49 (>= 1.49-1) and this is not installable but I have blah-blah-1.55 installed already. I think 1.55 is greater than ...
1
vote
1answer
612 views

Can't install debian because installer doesn't parse IP correctly?

I am trying to install debian on Virtual box using debian-7.8.0-amd64-netinst.iso When I insert my proxy server http://192.168.2.2:3128, it says the installer failed to access the mirror. However on ...
1
vote
1answer
985 views

removing clamav with purge leaves database

I uninstalled clamav with apt-get remove --purge clamav but still I have this 100MB folder: du -shc /var/lib/clamav Why is this not deleted on purge? And how can I find out if some other ...
2
votes
1answer
422 views

how to force upgrade of coreutils on old distribution?

I'm running an oldish kubuntu "precise" I need a more up to date version of basename with the -s option. Can I force this somehow? Seems I need 8.14 looking at a version I see on a newer box.
1
vote
1answer
167 views

Maintain two tomcat installations with apt-get

On our server we have two tomcat8 installations on debian wheezy. One tomcat was installed via apt-get install , the second instance was then just copied from the first installation. But this makes it ...
0
votes
1answer
217 views

How to autoremove with apt?

After uninstalling a package I used to do apt-get autoremove to remove other unused dependencies. I understand that apt (rather than apt-get) is the modern way to manage packages on the command-line -...
0
votes
1answer
318 views

How to run unattended-upgrades not daily but every few hours

By default unattended-upgrades runs with cron.daily, that is at most on a daily basis. This can be a lot of time for attackers. I'd like to run it every 4 hours, how can I do this?
0
votes
1answer
458 views

getting error for sudo apt-get upgrade?

when i enter : sudo apt-get upgrade I get the following messages: Reading package lists... Done Building dependency tree Reading> state information... Done Calculating upgrade......
0
votes
0answers
32 views

Trouble with installing libqca2-dev on ubuntu 12.04

I have installed Qt 4.8.4 from source at usr/local/Trolltec and now that I am trying to install libqca2-dev on Ubuntu 12.04, the apt-get tool fails with a dependency error stating that libqt4-dev is ...
1
vote
0answers
544 views

Fix the debian default version to wheezy

I followed this tutorial http://kemitix.postach.io/install-viber-on-debian-wheezy to install viber on debian wheezy 7.6. My problem is about the part that says: Fix the default version to wheezy. ...
2
votes
1answer
698 views

apt-get update reports 406 Not Acceptable

I recently noticed that apt-get update and aptitude update report some errors: W: Failed to fetch http://linux.dropbox.com/debian/dists/wheezy/main/binary-amd64/Packages: Bad header line W: Failed to ...
36
votes
2answers
23k views

What is yum equivalent of 'apt-get update'?

Debian's apt-get update fetches and updates the package index. Because I'm used to this way of doing things, I was surprised to find that yum update does all that and upgrades the system. This made ...
0
votes
2answers
2k views

Can't install or download anything in pear os 8

I recently installed Pear OS 8 and have ran into many problems since. Essentially, I can't download or install anything. At first I was getting a "failed to download repository information" error. I ...
2
votes
2answers
223 views

Is possible to install mediawiki deb package without needing apache?

I would like to install the mediawiki package on Debian Wheezy. mediawiki has dependencies on (apache2 OR httpd) and MySQL, but I want to use nginx-extras (which provides httpd) and Sqlite (i.e. not ...
2
votes
1answer
274 views

permision denied error ubuntu update with sudo

Running the below command throws the Permission denied error in Ubuntu Server 14.04.1 LTS sudo apt-get update && apt-get dist-upgrade and the error is Get:16 http://az1.clouds.archive....
1
vote
2answers
116 views

is there a difference between these lines in `/etc/apt/sources.list`?

In a guide for installing a wireless card, I'm told to add the following lines to /etc/apt/sources.list: deb http://http.debian.net/debian/ wheezy main contrib non-free This is what my sources.list ...
1
vote
2answers
2k views

'E:The package linux-headers-3.5.0-54 needs to be reinstalled, but I can't find an archive for it. ' when upgrading the system

I am using Ubuntu 12.04, and I try to upgrade to 14.04.1 using the terminal using: do-release-upgrade but I keep getting the following error: SystemError: E:The package linux-headers-3.5.0-54 ...
0
votes
1answer
128 views

How to list softwares installed in my system

As far as I studied, pkg-config command returns the info about all the libraries installed in my Linux system. Can anyone specify me from where does it get these details? Also, where will I get the ...
4
votes
2answers
6k views

Untrusted package apt-transport-https

I am using Debian wheezy and I would like to install the package apt-transport-https, which allows to access apt repositories through the https protocol. What really puzzles me is that the apt-get ...
-1
votes
1answer
277 views

Make TCP to reconnect automatically and quickly

In my Debian Linux system apt-get dist-upgrade is sometimes stalled with [Waiting for headers] message. To make it pass faster I press Ctrl+C and start the command again. How to tune the system to ...
6
votes
1answer
3k views

Get apt's key ids and fingerprints in machine-readable format

I'm trying to patch an issue in puppetlabs-apt to enable the use of key fingerprints as identifiers to ensure that a certain key is present by its 40-digit key fingerprint. I'm having difficulty ...
1
vote
1answer
388 views

“Package 'dconf-cli' has no installation candidate”

I want to be able to colour my gnome terminal (on Debian), using this package, and the installation notes require me to first execute sudo apt-get install dconf-cli, but doing so gives me an error. ...
1
vote
1answer
76 views

Reason for security repositories in Debian?

In /etc/apt/sources.list(lists APT data sources) file there are two repositories listed for security updates: deb http://security.debian.org/ wheezy/updates main contrib non-free deb-src http://...
0
votes
1answer
5k views

E: Sub-process /usr/bin/dpkg returned an error code (2)

I wanted to install bluefish editor but I got this error. This is not the first error I got involving packages. I installed Linux Mint 17 two days ago and every time after a reboot there is some kind ...
1
vote
1answer
1k views

VLC stuck in the wrong version on Linux mint 17 (Qiana)

I'm currently using Linux Mint 17, and have been encountering a bug with VLC, the symptoms of which are a flood of zombie sh processes, progressively slowing down my PC (bloating the scheduler ?) For ...
0
votes
1answer
186 views

Dpkg env variable DPKG_HOOK_ACTION is not set in hook script

According to man dpkg I can use DPKG_HOOK_ACTION to get the current dpkg action being run in my dpkg hook script --pre-invoke=command --post-invoke=command Set an invoke hook command to be run ...
0
votes
1answer
56 views

Debian system: install specific packages from source automatically to boost the performance

On Debian /Ubuntu systems, how to set a list of packages which can be installed from sources automatically by apt-get or aptitude? The server is mainly for scientific computing and I would like to ...
8
votes
1answer
136 views

“ValueError: _system not initialized” when using apt.VersionCompare

I wrote a bash script that has to compare two version strings to decide to download new version or not. The test relies on a Python script that does apt.VersionCompare(), which does version comparison ...
0
votes
1answer
2k views

What does “apt” stand for?

What does the abbreviation "apt" stand for? I'm referring to the "apt" directory, the "apt-cache", and the "apt-get" package manager. I always assumed "apt-get" was short for "get application", but ...
7
votes
3answers
1k views

How do I find installed packages that have no install candidate?

I'd like to retrieve a list of installed packages that have no install candidate (e.g., because I removed an apt source file entry). How would I do that on Debian-based systems?
4
votes
1answer
1k 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 ...
0
votes
0answers
81 views

Can't install Amanda in Debian 7.6

I'm trying to install Amanda in Debian 7.6, but when I try to install the needed packages I get the error "Couldn't find package amanda-server, amanda-client and amanda-common" when I put this command:...
0
votes
1answer
10k views

OpenVAS 7 not working after apt-get update - Failed to receive data: A TLS packet with unexpected length was received

The problem started when my Kali installation updated OpenVAS to v7: My admin username for the web service stopped working so I could no longer log in. I have tried everything I can think of to fix ...
1
vote
1answer
2k views

Debian 6 upgrade to Wheezy then testing release require kernel upgrade?

Debian 6 upgrade to Wheezy then testing release require kernel upgrade? I was doing a squeeze to wheezy upgrade. Then I got to testing. Each step with upgrade then dist-upgrade. I think I may over-...
4
votes
2answers
118 views

Why am I getting so many hits searching for “git” in the apt cache?

When I give the following command: apt-cache search git | wc -l I get the answer 756. How can I list just the half-dozen or so apps associated with git?
2
votes
2answers
2k views

Installing Steam on Debian Wheezy

I downloaded the .deb file from the Steam website, but couldn't install it as it complained about having and "outdated" version of libc6. I look around and apparently I have to add jessie sources to ...
0
votes
0answers
100 views

apt itself update and download packages

I have Debian SID with the following APT configuration: APT::Periodic::Update-Package-Lists "0"; APT::Periodic::Download-Upgradeable-Packages "0"; APT::Periodic::AutocleanInterval "0"; APT::Periodic::...
1
vote
1answer
786 views

Installing mysql-workbench from the testing ppa (Jessie) in Wheezy

I would like to install some packages from the testing branch without switching to it if possible. The big packages are things like xfce4 and mysql-workbench. I've done this by making a testing.list ...