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

learn more… | top users | synonyms (1)

0
votes
1answer
12 views

Syncing AIDE and apt-get

I would like to run AIDE from a stick on a system. However there is a major difficulty. Apt-get will modify files in particular with commands update, install, remove/purge which will muck up the AIDE ...
0
votes
2answers
17 views

How to understand “Replaces” field in output of “apt-cache depends”?

When I run apt-cache depends tar under my Debian 8.3 installation, then it says that it will replace cpio: # apt-cache depends tar tar PreDepends: libacl1 PreDepends: libc6 PreDepends: ...
1
vote
1answer
41 views

apt looking for i386 files, even though architecture is amd64

I am trying to use a file repository for updating linux/ubuntu on a non-connected machine. The architecture for this machine (uname -a): x86_64 GNU/Linux The results of dpkg --printarchitecture ...
2
votes
2answers
33 views

Install the latest version of a package that would not require updating dependencies

Mainly on a debian/apt-get based system (but answers for others like Arch would be nice too). Doing apt-get install package installs the latest version of "package" available and (if necessary) ...
3
votes
2answers
58 views

Can't perform apt-get because of dependencies

I'm trying to install some packages on my server (Debian8) and for some of they, I always have dependencies problems. For example, I have executed this command: apt-get install jetty9 And It ...
2
votes
2answers
374 views

How to disable warning message for Apt repositories using SHA1?

A recent update of apt (in Debian unstable) generates an warning message for repositories SHA1 signed. I get the idea you should privilege SHA2 signed repositories but I use some softwares which does ...
1
vote
1answer
34 views

apt mirror chooses wrong architecture

I tried to do a repository mirror using apt-mirror and it inexplicably choose the wrong architecture. This is the architecture of the mirroring machine: uname -a Linux MyWorkStation 3.2.0-76-generic ...
0
votes
0answers
18 views

Ubuntu upgrades blocked due to insufficient disk space for linux-image [duplicate]

I am running Ubuntu Server 14.04 LTS on a desktop at my home that I was intending to turn into a server, but I never really did much on it. I then decided to turn it into a send-only SMPT server, but ...
1
vote
1answer
37 views

How do I install LXDE offline into debian?

I am running the latest version of Debian, command line only. the PC is offline. Do not ask me to get it online because i can't. I want to install the desktop environment LXDE but I have no CD and no ...
1
vote
1answer
2k views

`apt update` failed on Debian Linux

Attempting to upgrade testing/stretch Debian Linux: $ sudo apt update Ign:1 http://dl.google.com/linux/talkplugin/deb stable InRelease Hit:2 http://dl.google.com/linux/talkplugin/deb stable Release ...
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 ...
0
votes
0answers
96 views

Unable to find any package through apt-get or packages in kali linux

I am using lenovo thinkpad t400. I have been using kali linux old version and everything was working fine . But after installing kali linux version 2.0 , i can't find any package . It always show ...
0
votes
1answer
144 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 ...
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: ...
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
44 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
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 ...
1
vote
1answer
21 views

Media change while installing apache2

I've got a fresh copy of Ubuntu Server 15.04 and installed it via "Easy Install" in VMWare WorkStation 12. After it installed,i've logged in to my account and tried to install apache2 with this ...
3
votes
3answers
49 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: ...
2
votes
1answer
25 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
90 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 ...
0
votes
2answers
154 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 ...
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 ...
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
3answers
125 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 ...
3
votes
2answers
152 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?
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
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) ...
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 ...
0
votes
2answers
88 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 ...
0
votes
1answer
66 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
67 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
122 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.
1
vote
1answer
137 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 ...
1
vote
2answers
36 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 ...
10
votes
1answer
1k views

apt-get fails: The method driver /usr/lib/apt/methods/https could not be found

I tried to update my OS Debian jessie using the terminal and i get an error : “E: The method driver /usr/lib/apt/methods/https could not be found.” error? My sources.list : deb ...
3
votes
1answer
324 views

Debian Jessie is installing too many backports

I have Debian Jessie and have added backports (according to these instructions): echo "deb http://http.debian.net/debian jessie-backports main contrib non-free" | sudo tee ...
3
votes
3answers
260 views

write error: No space left on device. Removing 'extra' packages. Attempting recovery

The Issue: When I type: dpkg-query -Wf '${Package;-40}${Priority}\n' | sort -b -k2,2 -k1,1 I get a list of all installed packages on my machine, example: ... raspberrypi-artwork ...