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

learn more… | top users | synonyms (1)

4
votes
3answers
37 views

Two different lists of installed packages

I'm trying to get an authoritative list of installed packages in order to find the explicitly installed ones as is done here. This command gives me one list aptitude search '~i !~M' -F '%p' ...
12
votes
3answers
13k views

Can I rollback an apt-get upgrade if something goes wrong?

Is there a way, before starting an aptitude upgrade or apt-get upgrade, to set up something so that you can "easily" rollback your system to the "apt" state it was before the actual upgrade, if ...
2
votes
1answer
77 views

Package installation : dpkg parse error

I need help with installation through the terminal. Any time I try to install any new packages using sudo apt-get install *package*, I get the following error: dpkg: parse error, in file ...
0
votes
1answer
175 views

Debian: cannot install packages

Some time ago I had an old Debian system on my VPS. Probably it was Lenny. In /etc/apt/sources.list it was stable so I don't really know what it was. So I've decided to upgrade it. My steps were: ...
2
votes
1answer
21 views

How do I measure how stable is my Debian (i.e. number of packages from testing/sid)?

My Debian spans from legacy abandoned "squeeze" packages to new sid's libs. I lost track of it a bit and "Which version of Debian do you use" is not a simple question. How do I measure what ...
1
vote
2answers
1k views

Remove all packages in a text file via apt-get

I have a text file with a package on each line. How can I remove all of the packages in that text file from the system? Also, if one package cannot be removed/wasn't installed in the first place, I ...
5
votes
2answers
228 views

Check if all listed packages are installed in bash

My binary depends on these boost libraries and respective packages: NAME | PACKAGE: ...
0
votes
1answer
45 views

Installed package but get older version

I've updated NodeJS but the version still displays as the older. What am I doing wrong? I can see it has downloaded the latest (4.1.2). Thanks in advance!
4
votes
1answer
531 views

Should I change Debian repository after dist-upgrade?

When I installed Debian, it was Debian 7.0 with the Debian wheezy repository. After these commands sudo apt-get update sudo apt-get upgrade sudo apt-get dist-upgrade this command shows me Debian ...
3
votes
1answer
174 views

Keep private key for remote reprepro package archive local

Currently I am using reprepro and inoticoming to maintain a Debian package archive on a remote machine. The repo is configured with this distributions file: Origin: ... Label: ... Codename: squeeze ...
2
votes
1answer
170 views

Why does installing a libc6 for a different arch not work for armhf?

I am trying to get cross compilation working, on a 64 bit system that already has i386 enabled: $ dpkg --print-architecture amd64 $ dpkg --print-foreign-architectures i386 armhf Only jessie ...
0
votes
0answers
109 views

How to install Ruby 2.2.3 in root user account of Kali Linux OS?

I'm new to Kali Linux. Before this i have experience of Ubuntu.Here in Kali I have ruby 1.9 installed. But I want to install latest version of ruby 2.2.3. For this i wrote :- apt-get install ruby ...
-1
votes
1answer
54 views

How to use “apt-get install” via ssh cmd [closed]

I am trying to use "apt-get" to install a software called "expect" via cmd with ssh: ssh -t root@111.111.111 'apt-get install -v -y expect' However, this is what I get: apt 1.0.1ubuntu2 for amd64 ...
1
vote
0answers
21 views

No drivers after usr ownership change Linux Mint

I have Linux Mint 14.2 installed on an IBM T60 ThinkPad. Everything was going just fine until I was installing some developer tool (I can't even remember which one anymore) and accidentally changed ...
1
vote
0answers
134 views

No candidate version found for sudo

When I try install sudo in Debian 8.2 aptitude install sudo I get error: No candidate version found for sudo. Source list is standart. Sorry for my bad english. Source list: deb ...
7
votes
3answers
31k 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 ...
0
votes
0answers
20 views

Install Vlc 1.1 without building it from source

I am using Ubuntu 15.04. Is there any way to install VLC version 1.1 without having to build it from source? I tried these method but I was stuck in endless loop of unmet dependencies: sudo dpkg -i ...
0
votes
1answer
29 views

Resuming apt-get upgrade after starting a new shell to examine the situation

At start my situation was similar to this: A new version of configuration file /etc/default/grub is available, but the version installed currently has been locally modified I don't know why but I ...
1
vote
1answer
155 views

Debian Jessie - dpkg / apt intall, update and uninstall broken

I have a problem with a Debian server that I use for multiple purposes. Yesterday I tried to upgrade my packages with a simple apt-get update / upgrade as usual and found everything to be broken : ...
0
votes
1answer
345 views

Install older versions of google-chrome-stable, on ubuntu 14.10

I am able to do, sudo apt-get install google-chrome-stable This installs, chrome version 45 which does not support NPAPI plug-ins that is needed to run java inside browser. I am trying to move one ...
0
votes
1answer
29 views

dpkg --list not in sync with apt-get

dpkg --list | grep [0-9]\-jre-headless shows, rc openjdk-7-jre-headless:amd64 7u79-2.5.6-0ubuntu1.14.04.1 amd64 OpenJDK Java runtime, using ...
1
vote
1answer
522 views

E: Unable to locate package libssl-dev when trying to download 32bit OpenSSL on 64bit system

I'm trying to compile multiarch project the right (means reproducible) way, so I decided to install all libraries through apt-get. But ever since the system noticed what I'm doing, it became hostile. ...
0
votes
1answer
42 views

How to store linux apps on my bootable linux pendrive?

I use bootable linux(ubuntu 15.04). Everytime I boot linux using my pendrive, I have to download apps. After I remove my Drive ,the apps are uninstalled. Is there any way to store these apps on the ...
3
votes
2answers
121 views

Prevent apt-get upgrade from using certain repos

I've added the ubuntu base repo http://archive.ubuntu.com/ubuntu vivid main and a couple of PPAs into my debian installation to get access to some software that's not available on a debian repo. I've ...
3
votes
0answers
58 views

dpkg-query listing package that is not installed

I installed Chrome via dpkg by downloading the deb file and installing it. I later uninstalled and removed it. However I'm now seeing this: $ dpkg-query -W google-chrome google-chrome $ dpkg-query ...
0
votes
1answer
18 views

Permanently update linux distro .iso file in pen

I have a kali 2.0 (last released version) on a pen and run it on a virtual machine with allocated memory on my hard drive. However, even though this kali distribution is the last version available I ...
3
votes
1answer
58 views

How to find installed deb packages needlessly marked as manually installed

Problem statement apt and aptitude both remember which packages were installed automatically as dependencies of some other package or manually for some reason. For various reasons the list of ...
1
vote
2answers
219 views

403 Forbidden Error when trying to connect to ubuntu repositories

Im running Ubuntu 14.04 and havent run sudo apt-get update for many months. When I try to update local /etc/apt/sources.list apt-get can connect to many repos no problem, but many (maybe 15% of ...
0
votes
0answers
22 views

What happens when bleachbit turns grey?

I just ran bleachbit as a regular user (not as root) and the progress bar at the top is stuck at "Please wait. Wiping free disk space. About 0 minutes remaining" and the entire bleachbit screen has ...
0
votes
0answers
18 views

Offline installation with dependencies? [duplicate]

I'm frequently installing linux software in an offline environment (Debian armel). Is there a way that allows me to download all the dependencies that the software installation needs allowing me to ...
2
votes
1answer
30 views

How to configure apt to trust CDs

The debian secure apt page states that apt can be configured to always trust files from a CD. However, I can't find documentation of how to do this configuration. It's also worth noting that newer ...
0
votes
2answers
421 views

x2go unable to locate package x2goserver

I'm trying to install x2go on my test server following this: http://wiki.x2go.org/doku.php/doc:installation:x2goserver (ubuntu) The repo seems to add fine and gives details on how to use it and what ...
1
vote
2answers
19 views

apt-cache - show future commands

Is there a way to find out which commands will be available, once a package has been installed via apt-get? Let's say I would like to run apt-get -y net-tools. Host> apt-cache show net-tools ...
3
votes
1answer
45 views

compile packages AND keep apt tidy

For the first time in my Linux (Debian) career it seems necessary for me to compile a piece of software myself. The process of compiling is well described on the project-website. However, there is ...
2
votes
1answer
250 views

Debian upgrade from Wheezy to Jessie fails on Amazon EC2

I have searched and read other debian upgrade threads, but my situation doesn't seem to match that described in the other questions on this topic. I have a t1.micro instance of debian running on ...
2
votes
1answer
44 views

What is the difference between the error “not found” and the error “command not found” are they the same?

In this question the user is getting the error "not found". I realized that the error is "not found" instead of "command not found". Are these two errors different? I'm not sure if I've just never ...
5
votes
2answers
84 views

restrict private apt repository with rssh - why does apt-get try /bin/sh?

I am trying to set up a private repository via ssh. My sources.list.d/ contains the entry deb ssh://user@host:/repo ./ user is a certificate only account on host. apt-get update works fine. ...
3
votes
2answers
1k views

Install Elixir lang on Linux Mint

I've followed the instructions on the Elixir site for Ubuntu by downloading and installing their erlang-solutions_1.0_all.deb but no install target is found when trying to install. $ sudo apt-get ...
1
vote
0answers
153 views

Debian 8 apt-get upgrade fails with Failed to fetch … Connection failed

Debian 8 "Jessie". CLI-only home-use server. "apt-get upgrade" always fails with "E: Failed to fetch ... Connection failed ..." errors. "apt-get update" appears to always succeed. Problem has been ...
3
votes
0answers
365 views

What to do if apt-get -f install fails?

I'm in a difficult situation. Using Debian Jessie / Stretch, apt-get -f install fails. The system is effectively stuck. I've sshed in now. As far as login terminals, only one was becoming ...
1
vote
0answers
30 views

Restart custom daemon when dependencies were updated

I have the following problem/requirements: On a Ubuntu 14.04 LTS system I'm running Subversion installed from an external repository (WANDisco). This repository is well maintained and provides ...
1
vote
3answers
1k views

Ubunutu software-centre is not working, showing black screen

I am trying to open ubuntu software-center but it get paused and after that shows complete black and nothing is happening. Same thing has happened when I try to run from command line. This is the ...
2
votes
1answer
41 views

apt working unexpectedly on debian 8

Sometimes I'm noticing my bandwidth being all consumed although I'm not doing anything consuming, so I fire up nethogs on my wireless interface and I notice an apt process running without me starting ...
0
votes
1answer
154 views

Can't install gcc cross compiler

I try to cross compile Bluez. Therefor i need to install "libical" which is a prerequisite of BlueZ. I am following this guide. From the guide: libical requires cmake and g++ cross compilers to ...
3
votes
3answers
35 views

apt being notified when a package version is available

For very few packages I'd like to know after an apt-get update if a newer version is available, is there already some option to do that? I'm thinking about using apt.conf and Post-Invoke but done ...
0
votes
2answers
109 views

What does “dist-upgrade” mean in “apt-get upgrade”?

apt-get dist-upgrade does not upgrade Linux distributions (though it does update kernels). From the manual on apt-get, the description of dist-upgrade: dist-upgrade in addition to performing the ...
0
votes
0answers
302 views

apt-get error installing software on Parrot OS

I am trying to install Evolution Email client but when I run "sudo apt-get install evolution" I get the following errors: "Reading package lists... Done Building dependency tree Reading state ...
2
votes
2answers
2k views

“apt-get install” ends with segmentation fault

I have a following minimalistic sources.list file: root@c:~# cat /etc/apt/sources.list deb http://ftp.fi.debian.org/debian/ wheezy main root@c:~# apt-get update Hit http://ftp.fi.debian.org wheezy ...
1
vote
1answer
54 views

Can a Debian package's Priority field be used for selection for install?

In a Debian package's control file, there is a Priority field which can be set to one of: required important standard optional extra APT pinning can be used to specify priorities for packages from ...
1
vote
1answer
737 views

How to tell apt-get to switch from Sources.bz2 to Sources.gz

I have a clean installation of kali-2.0.1-rpi.img on a Raspberry Pi B+. It's connected to the mac via cable and network is working: I can open web pages and ping ips from the pi. After booting and ...