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

Is possible to obtain a list of debian packages that doesn't have a gui / run in X?

I'm interested into creating a script able to get my own iso of debian for offline working purposes, however I have no the need of any gui utility that are generally for desktop usage. For the ...
0
votes
0answers
23 views

Upgrade package Ubuntu 15.10

I would like to upgrade systemd to it's most recent version 229( currently I have 225) but when I try to do it via command line I get systemd is already the newest version. I suspect 225 is the ...
4
votes
6answers
13k 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 ...
0
votes
1answer
140 views

My debian mirror is not working… Could not resolve 'ftp.us.debian.org'

I was trying to use the command $sudo apt-get update but I got the errors: Err http://ftp.us.debian.org etc. and things like: W: Failed to fetch ...
3
votes
3answers
47 views

apt pinning priority restricted

I need to downgrade some apt packages, that I had previously pinned to testing, having stable as default. This is the preferences file: Package: * Pin: release a=stable Pin-Priority: 1001 Package: ...
1
vote
2answers
54 views

Strange “apt-get purge” behaviour with regEx

I'm running Debian (jessie) and following this question, I followed the first answer suggestion to install that packages running sudo apt-get install gtk2-engines-* gtk3-engines* That did not ...
1
vote
1answer
43 views

Update apt-get cache only if it's older than certain time

I'm on debian. I would like to execute an apt-get update (and maybe something else) only if the time since last update is bigger or smaller than a certain amount with a straight command, no cron ...
0
votes
1answer
32 views

Retrieve apt-get package in differing distros

I have ROS Indigo installed in Ubuntu 14.04 on a macbook pro. I can find and install the package ros-indigo-openni-launch. $ sudo apt-get install ros-indigo-openni-launch [sudo] password for jackson: ...
0
votes
1answer
67 views

Access from unknown IP tracks to non-existent website

Just had a warning that my Gmail's been accessed from the following IP: 151.230.107.114 which routes to something called htc_frisbee.com , which doesn't appear to be a real website. Could this just be ...
0
votes
0answers
34 views

Installing npm on Mint 17 without using curl or the GUI file-manager

I'm trying to install npm in a Mint VM running on Windows 10 on which I can only use sudo to install and modify directories and have no ability to create directories via the visual file manager. I ...
2
votes
1answer
24 views

Why apt-get is unable to locate jigdo-file or jigdo-lite?

There is something I'm not getting right with the debian package system, I'm pretty confident that the jigdo program is contained in the Debian repository system ...
2
votes
2answers
89 views

How is `apt` the new-and-improved `apt-get`? [closed]

So in Debian 8, we now have apt as well as apt-get. Can somebody explain to me how apt is better than apt-get? A quote from the Debian Administrator's Handbook: APT is a vast project, whose ...
1
vote
1answer
18 views

How to determine the added value of installing a (pseudo-)package vis-à-vis installing only one of its dependencies?

Suppose that (pseudo-)package A depends on (pseudo-)package B. I'm looking for a reasonable systematic way to answer the question: "what would I get by installing A that I would not get by installing ...
238
votes
4answers
273k 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
2answers
151 views

virtualbox-5.0 won't install on ubuntu-server 14.04.4

I can't get virtualbox to install. I recently reinstalled my entire system with ubuntu-server 14.04.4. I added the virtualbox repository as recommended on their website: I added deb ...
10
votes
1answer
14k 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
1k views

Apt broken after upgrading python on 14.04 - No module named 'lsb_release'

I recently needed an updated version of Python3 for a project, so I built it from source; and I believe I made a bit of a mess. All apt based operations now end in an error here: (Reading database ...
0
votes
0answers
25 views

Uninstall package from command line in unbootable system

I messed up my Raspbian Jessie system by installing upstart, and now it gets hung up while booting. Now I'm trying to get back to a bootable system by uninstalling it. I used these directions to get ...
2
votes
3answers
122 views

The following packages have been kept back

The following packages have been kept back: click click-dev gir1.2-click-0.4 libclick-0.4-0 0 BUT It's clear that all of these packages are either on hold somewhere, or are in some kind of ...
0
votes
0answers
18 views

sources.list.d files are automatically configured: how can I change them persistently? [duplicate]

Google recently discontinued support for 32-bit Chrome repositories on Linux. That's fine; I don't care: I'm on 64-bit. No problem. Unfortunately, it causes apt update to fail because it fails to ...
2
votes
2answers
10k views

Force download & reinstall of all deb packages

I have a Kali Linux installed recently, but due to its inflexible mirror selection, all deb packages are downloaded from a mirror that I don't trust. Is it possible to tell apt / dselect to ...
3
votes
2answers
150 views

installing virtualbox apt-get wants to download gcc-4.8 --> replacing gcc-4.9?

I'm trying to install virtuabox on Debian 8.3 using the contrib repos. When I use apt-get install virtualbox it wants to install gcc-4.8, but I already have gcc version 4.9.2 installed. What am I ...
0
votes
0answers
27 views

Can't permanently modify google-chrome.list [duplicate]

I have been modifying the file /etc/apt/sources.list.d/google-chrome.list to correct this error. And it which works well the first time. The problem is that the next time I turn on the computer the ...
0
votes
0answers
42 views

Cannot find installed application - failed to fetch deb (404 not found)

I tried installing glade on Kali using sudo apt-get install glade command, but I get this error: Failed to fetch http://http.kali.org/kali/pool/main/m/mesa/libegl1-mesa-dev_11.1.1-2_i386.deb 404 ...
0
votes
2answers
1k views

Can't find source package with apt-get source on Debian Squeeze

I have an old server running Debian Squeeze. I'm trying to download the source of some package so that I can patch it manually. However, apt-get source fails for every package I try. An example: ...
1
vote
1answer
1k views

apt-get update fails on debian squeeze with “File not found”

I'm trying to update my old server running Debian Squeeze. apt-get update fails. The output is here: Ign file: debs/ Release.gpg Ign file:/root/ debs/ Translation-en ...
1
vote
1answer
27 views

How to install Readahead-Fedora on Lubuntu 15.10? [closed]

I try to install Readahead-Fedora withe the command line : sudo apt-get install readahead-fedora But doesn't work! How can I install readahead-fedora?
32
votes
3answers
30k views

Should I use “apt-get remove” or “apt-get purge”?

For uninstalling an app (or package) should I use apt-get remove package-name or apt-get purge package-name? What is advantage of any of them to other one?
0
votes
0answers
65 views

Fail to install Clang-3.5 due to Clang-3.3

I am trying to install clang-3.5 on Linux Mint 17.2 (Cinnamon) and I dependency errors. Edit: here is the output of apt-cache policy clang clang-3.5 clang-3.3: clang: Installed: (none) ...
1
vote
2answers
61 views

How can I detect when apt-get update fails due to no network connection?

I have a script which runs the command apt-get update but the script is unable to detect failure due to no internet. i.e. if apt-get is not run with root privileges it exits with code 100. so I can do ...
0
votes
2answers
19 views

How to know which files (scripts and configurations) I have installed by apt-get?

I always use rpm --query --package-name to see what files (scripts and configurations) I have installed. I'm looking for the similar command in ubuntu. Is there any equivalent command for apt-get?
0
votes
1answer
94 views

What to do when some errors happen during an apt-get upgrade process?

I've accidentally run apt-get update, apt-get dist-upgrade before previously checking free disk space... Little did I know my root / partition was filled up to the very end by some log errors. So ...
0
votes
2answers
41 views

Does “apt-get -s upgrade” or some other apt command have an option to list the repositories the packages will be downloaded from?

Does apt-get -s upgrade or some other apt command have an option to list the repositories the packages will be downloaded from? apt-cache policy will tell you for an individual package but I need ...
27
votes
3answers
25k views

How to install a single Jessie package on Wheezy?

I want to install a single package (and its dependencies, but only to the extent those are not satisfiable in Wheezy) from Debian Jessie onto my Wheezy system, without upgrading "everything and the ...
67
votes
4answers
158k views

How to add repository from shell in Debian?

In Ubuntu one can add a repository to apt-get via the following command - sudo add-apt-repository ppa:yannubuntu/boot-repair As Ubuntu is based on Debian code base, I was expecting that the same ...
0
votes
2answers
87 views

Why is apt upgrade changing my x-www-browser to google-chrome-stable?

For the second time now, I've just run apt upgrade and had this happen: [...] Setting up google-chrome-stable (48.0.2564.116-1) ... update-alternatives: using /usr/bin/google-chrome-stable to provide ...
1
vote
2answers
3k 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 ...
3
votes
2answers
9k views

apt-get: hash sum mismatch

Running "sudo apt-get update" results in: W: Failed to fetch gzip:/var/lib/apt/lists/partial/security.ubuntu.com_ubuntu_dists_saucy-security_main_binary-i386_Packages Hash Sum mismatch W: ...
0
votes
1answer
65 views

Issue with bash script running from php as root

I'm making a php panel from which you can install apps like owncloud & plex on your server. I've created multiple bash scripts that install and remove software. I tested all of them from shell, ...
0
votes
0answers
66 views

I cant update Elementary OS 0.3.2 Freya (64-bit)

Everytime I try to run sudo apt update get this: Hit http://download.virtualbox.org trusty InRelease Hit http://download.virtualbox.org trusty/contrib amd64 Packages Hit ...
1
vote
1answer
118 views

How can I install pdfedit on Debian Jessie?

How can I install pdfedit on Debian Jessie? I have tried to install it with apt-get install but it seems it has not been updated for Jessie.
3
votes
1answer
944 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 ...
1
vote
1answer
134 views

Why Linux has so many dependency problems when installing software while Windows doesn't except for few like VC++? [closed]

I'm a Windows user and I need to also use Linux distros heavily for work. Installing software has been so difficult with all dependency missing/version not upgraded/OS distro version unmatch. Not ...
3
votes
1answer
47 views

Why did 'apt-get autoremove' not work properly?

I installed Pipelight from the PPA archive, according to these instructions. The installation command, sudo apt-get install --install-recommends pipelight-multi was for only one package, but it ...
3
votes
1answer
63 views

Why is apt installing a package during a purge?

I'm switching from Apache2 to nginx. So I issued this command: sudo apt-get purge apache2 Reading package lists... Done Building dependency tree Reading state information... Done The following ...
2
votes
1answer
21 views

Make sure package can not be deleted

I have some PCs running various types of debian testing to have the latest version of a number of packages. Usually this works great for my usage, but occasionally, an apt-get dist-upgrade wants to ...
110
votes
9answers
65k views

Convince apt-get *not* to use IPv6 method

The ISP I work at is setting up an internal IPv6 network in preparation for eventually connecting to the IPv6 internet. As a result, several of the servers in this network now try to connect to ...
3
votes
2answers
841 views

apt-get update exit status

How check the status of apt-get update? $ apt-get update ; echo "status is: $?" Err http://security.debian.org stable/updates Release.gpg Could not resolve 'security.debian.org' Hit ...
1
vote
2answers
35 views

Debian security updates [duplicate]

My wheezy server has apt sources set as below deb http://security.debian.org/ wheezy/updates main contrib non-free deb http://ftp.debian.org/debian/ wheezy-updates main contrib non-free Are all ...
1
vote
1answer
26 views

How to change Synaptic Package Manager download directory when when I select “download only”?

According to this question, I know that the .deb file located in /var/cache/apt/archives/. But how to change Synaptic download directory? So when we download a package, we can locate it somewhere we ...