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

learn more… | top users | synonyms (1)

7
votes
2answers
3k views

How to make apt-get accept new config files in an unattended install of debian from Repo

I am writing a script for a unattended install of a package that is in our repo, it is a software package with one of Debian's marked config files. Is there any option that I can pass to ...
2
votes
4answers
904 views

How to recreate /var/lib/dpkg/status?

I have deleted some files around /var/lib/dpkg/, namely: /var/lib/dpkg/status /var/lib/dpkg/available /var/lib/dpkg/info/* I understand Debian uses these files to keep some information about ...
1
vote
2answers
1k views

apt-get : no installation candidate for libxul-dev

When I'm installing libxul-dev I end with this error message: $ sudo apt-get install libxul-dev Reading package lists... Done Building dependency tree Reading state information... Done Package ...
0
votes
1answer
304 views

How to install non-outdated nvidia drivers using apt-get?

I tried using apt-get install nvidia-current after installation I got 280.13 version, which is not the latest version(290.10). so how can i force apt-get to download the latest driver? Edit: I'm ...
1
vote
2answers
77 views

Cannot install Firefox in Semplice Linux

I am using Semplice Linux in VMware on Windows 7. It works fine but I cannot install Firefox. Semplice Linux is based on Debian Sid (unstable branch) with an Openbox desktop. This is what I get ...
2
votes
1answer
43 views

How to change automatically installed package to intentionally intalled?

I'm using Debian Jessie. I'm installing some software Z from source. Installation instructions inform that it depends on Debian package X. I checked in aptitude and I have this package installed, but ...
2
votes
2answers
120 views

change location of the “lists” and “archives” folders

apt is using two locations to store downloaded packages and other files: /var/lib/apt/lists /var/cache/apt/archives These folders can get quite big, even when using apt-get clean regularly. My ...
1
vote
1answer
327 views

“except (IOError, OSError), e: SyntaxError: invalid syntax” when configuring python-lockfile

I am having trouble installing any new packages in Ubuntu because of python. I tried sudo apt-get install python3 python3-dev but I am getting the following output :: dpkg: error processing ...
0
votes
1answer
265 views

dpkg cannot find ldconfig/start-stop-daemon in the PATH variable

I was trying to install bsd-mailx utility the package got installed however I am wondering about the error. This is the error I get: Preconfiguring packages ... dpkg: warning: 'ldconfig' not found ...
2
votes
1answer
6k views

Every package “has no installation candidate”

While attempting to install openssh-server on Ubuntu 14.04 64-bit, I get the following error: Package openssh-server is not available but is referred to by another package. This may mean that the ...
1
vote
1answer
2k views

shellshock solution for nexenta/solaris

I'm trying to solve the shellshock issue on my system: SunOS localhost 5.11 NexentaOS_134f i86pc i386 i86pc Solaris # bash --version GNU bash, version 3.2.48(1)-release (i386-pc-solaris2.11) ...
3
votes
1answer
609 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 ...
2
votes
1answer
242 views

Gdm uninstallation fails (“pre-removal script returned error”)

I installed gdm on my vps and now I want to remove it but get this error: root@server2:/etc/init.d# apt-get remove gdm3 Reading package lists... Done Building dependency tree Reading state ...
2
votes
3answers
314 views

Install from a deb file, by dpkg -i or by apt?

I have a deb package for installation. Shall I install by dpkg -i my.deb, or by apt? Will both handle the software dependency problem well? If by apt, how can I install from the deb by apt?
0
votes
0answers
1k views

Sample /etc/apt/sources.list for Linux Mint 17

It seems my /etc/apt/sources.list file only has deb cdrom:[Linux Mint 17 Qiana - Release amd64 20140624]/ trusty contrib main non-free It might have got corrupted when I was trying to download ...
0
votes
2answers
64 views

checkinstall package conflicts with python

I'm trying to do a distribution upgrade from Debian 6 to 7 and am having some issues with some packages I created and installed with checkinstall. When doing the upgrade I get the following message: ...
2
votes
2answers
343 views

apt-get build-dep is unable to find a source package

I have already followed this guide to disable middle mouse button paste on my Ubuntu 12.04. Works like a charm. Now I am trying to achieve the same on my Linux Mint 17. When I try to sudo apt-get ...
0
votes
1answer
551 views

Unable to add PPA repository from terminal

I am trying to install ap-hotspot on Ubuntu-14.04 When I enter the command: sudo add-apt-repository ppa:nilarimogard/webupd8 It gives me this message "Cannot add PPA: ...
0
votes
0answers
30 views

apt-get can't support https

On Linux 3.2.0-4-amd64 #1 SMP Debian 3.2.60-1+deb7u3 x86_64 I'm using Ansible (software to manage and configure machines) to install Passenger and copy the sources.list from another machine. To ...
0
votes
1answer
130 views

Unable to install package via APT

While attempting to install the package sw-nginx I encountered the following error messages: 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 0 B/327 kB of archives. After ...
0
votes
1answer
30 views

List packages available for upgrade with APT?

After I run apt-get update, I would like to get a list of all packages that can be upgraded. With opkg I usually to this:: opkg list_upgradable How can I do this with APT?
4
votes
3answers
137 views

SSH pipe broke while running apt upgrade. What can I do about it?

I was connected to my aws debian wheezy server and while running apt-get upgrade the ssh pipe broke. I didn't use screen or anything, so I don't think there's a way to recover that session. If I ...
-1
votes
1answer
23 views

How can I made a Debian ports like repo?

Is there a way to have only a debian folder and build the package (downloading and unpacking the sources) automatic? I've seen uscan but it scans for new packages, it doesn't allow to have a fixed ...
1
vote
0answers
202 views

No audio on Debian “jessie” / KDE install [closed]

I've completed a fresh Debian jessie / KDE install on a Chromebook via crouton, but I have one problem: I can't get the sound to work. How can I fix this issue? I'm running the chroot from an SD ...
0
votes
1answer
27 views

Why is there an apt-get script set in my cron.daily, I'm on Fedora 20?

I found this file tonight: /etc/cron.daily/apt.cron #!/bin/sh [ ! -f /var/lock/subsys/apt ] && exit 0 [ -f /etc/sysconfig/apt ] && . /etc/sysconfig/apt [ $CHECK_ONLY == "yes" ] ...
5
votes
3answers
697 views

Yum and recommended/suggested packages

I'd like to install a software package on my Fedora System, but it has a lot of unreasonable dependencies (which I know for sure they are not actually required). I used to work on Debian, where ...
1
vote
1answer
85 views

What does “apt install” do?

Being new to Linux, having used apt-get and seeing aptitude for the first time, I thought that apt must just be short for aptitude so when told to type aptitude install, I just typed apt install. It ...
3
votes
2answers
631 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 ...
1
vote
1answer
82 views

Install zip on SteamOS

How can I install zip on Steam OS (a Debian Wheezy derivative) if my apt sources do not have it? # apt-get install zip Reading package lists... Done Building dependency tree Reading state ...
0
votes
1answer
351 views

cannot install locales in Debian 7 due to unmet dependencies

So instead of including the wheezy-backport in my sources.list I had the bright idea of adding jessie directly. Realising my mistake I cut out of and apt-get update/upgrade midway through and then ...
0
votes
1answer
35 views

how to get info. about different versions of a binary package which are not in /etc/apt/sources.list?

I am running Debian testing/jessie with a few packages (I can count on my fingers) from unstable/sid and a couple from experimental (browsers). As asked by Faheem, here's the output of apt-cache ...
0
votes
1answer
368 views

Clang with Code::Blocks on Debian Wheezy [Stable]

In my pretty default Debian install: devsys@zotac:~$ lsb_release -a No LSB modules are available. Distributor ID: Debian Description: Debian GNU/Linux 7.4 (wheezy) Release: 7.4 Codename: ...
1
vote
1answer
155 views

Why is apt-get trying to remove certain packages when I install wine?

I'm trying to install wine, which is software for running Windows applications. When I do sudo apt-get install wine, apt-get warns me that some packages are being removed. Why would apt-get remove ...
5
votes
4answers
13k views

how to work around APT's “Release file expired” problem on a local mirror

I have a local mirror (created with debmirror), and when I try to do a cache update (apt-get update) after a few days, I get this: E: Release file expired, ignoring ...
2
votes
1answer
64 views

Deadlock with yes command

I have a script called setup.sh: . install.sh && . tolinux.sh && . startn.sh && . startm.sh This is install.sh: yes | sudo apt-get update yes | sudo apt-get install ...
9
votes
3answers
539 views

Debian Netinst - why apt is downloading Libre Office when I'm installing Gnome?

I have Debian. I was installing it from netinst to save disk space and network transfer (small partition, UMTS connection). I decided to install Gnome. When I typed: apt-get install gnome it ...
1
vote
1answer
302 views

Unmet dependencies using apt-get on Ubuntu

I am working on a Ubuntu 12.04.2 LTS (GNU/Linux 3.5.0-43-generic x86_64) machine. It is a server running in production environment with other projects so I have to be quite careful. I have to install ...
1
vote
1answer
31 views

List packages coming from a specific Codename or Suite

I already know how to list every package from a given "origin", thanks to aptitude awesome search features: aptitude search "?origin(My Backports)" However, in the repository Release file, there ...
2
votes
3answers
8k views

“sudo: apt-get: command not found.” after removing some packages

Recently I executed this command: sudo apt-get remove debian-keyring debian-archive-keyring To prevent this such error message: WARNING: The following packages cannot be authenticated! openerp ...
3
votes
1answer
108 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
73 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?
1
vote
1answer
3k views

apt-get update won't update - undo /apt-add-repository

When I run apt-get update, this happens: Hit http://dl.google.com stable Release.gpg Hit http://dl.google.com stable Release Hit http://security.debian.org ...
0
votes
1answer
181 views

apt-get update: How to check for GPG errors when using scripts?

When running. sudo apt-get update For example something like this could happen. W: GPG error: http://deb.torproject.org wheezy Release: The following signatures were invalid: KEYEXPIRED 1409325681 ...
1
vote
2answers
3k views

“invoke-rc.d: initscript cups, action ”start“ failed.” while configure cups

When I run apt-get -f install, I get the following abnormal output: Setting up cups (1.5.0-8) ... start: Job failed to start invoke-rc.d: initscript cups, action "start" failed. dpkg: error ...
2
votes
1answer
31 views

Why is apt filling up disk space that `apt-get clean` frees?

Every now and then I've to run apt-get clean on some small systems I manage I want to free up some disk space and apt is slowly filling up my disk. A apt-get clean often releases 700 mb of disk space. ...
7
votes
1answer
5k views

How to install some packages from “unstable” Debian on a computer running “stable” Debian?

On a computer running "stable" Debian, when trying to install a package which is in the unstable list on the Debian web site using the aptitude install <package>/unstable command, I get output ...
0
votes
1answer
241 views

How to upgrade TurnKey Linux 12.1 to 13.0

I have a Turnkey Linux 12.1 installation that I would like to upgrade to Turnkey Linux 13.0. The upgrade should transition from Squeeze 6.0.8 to Wheezy 7.x. I want to upgrade the Wheezy to utilize a ...
0
votes
1answer
49 views

wheezy not accepting commands

I have debian Wheezy on an independent Dell amd64 how do I get to accept commands to install a virtual box? here's what I put in terminal (also tried in root terminal): $ vi ...
0
votes
1answer
31 views

vncserver-x11 binary not found!

In which package I can find vncserver-x11 binary? I installed x11vnc and I found only x11vnc binary.I don't have any package named vncserver-x11 in repository. $uname -a Linux 3.2.0-67-generic ...
1
vote
3answers
162 views

To which Debian package does /etc/nsswitch.conf belong?

I tried to find out to which package /etc/nsswitch.conf belongs on my Debian machine, but dpkg --search /etc/nsswitch.conf won't tell me. Does anyone know?