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

learn more… | top users | synonyms (1)

1
vote
2answers
676 views

Reading package lists…Error!

When I run sudo apt-get update I get this error: Reading package lists... Error! E: Unable to parse package file /var/lib/dpkg/status (1) E: The package lists or status file could not be parsed or ...
2
votes
1answer
51 views

/etc/apt/sources.list won't accept URLs with https connection

In Debian Wheezy, my /etc/apt/sources.list file looks like this: deb https://mirrors.kernel.org/debian/ wheezy main contrib non-free deb-src https://mirrors.kernel.org/debian/ wheezy main contrib ...
1
vote
1answer
23 views

Remove Gnome Components detect by Packagename

I have tried out the dpkg, aptitude and apt commands. On the gnome desktop I decided to remove one component. sudo apt-get remove gnome-games or something else, all works fine. But if I don’t ...
2
votes
1answer
250 views

apt installing more packages than specified as dependencies

I was trying to install texmaker from the repository. For installing the texlive I followed the steps described here. For this the control file I used is this. It has the file texlive-binaries in it. ...
1
vote
1answer
23 views

What is the 'apt-get' equvalent of 'aptitude keep-all'?

From aptitude man page. keep-all Cancels all scheduled actions on all packages; any packages whose sticky state indicates an installation, removal, or upgrade will have this ...
1
vote
2answers
29 views

Adding my software to Debian

How do you add a package to the official Debian APT repository? For example lets say I have a peice of software called quicktxtedit ,and I have a DEB file for it, and I want to add it to the offical ...
13
votes
2answers
25k views

“E: Sub-process /usr/bin/dpkg returned an error code (1) ” What does this mean?

I've seen this message several times whenever someone has a problem installing, upgrading or removing some piece of software, but I wonder, what does it mean, and more importantly, how can I solve it? ...
0
votes
1answer
38 views

Make python module as an installable API

I am developing an API in Unix environment for virtual machines. Most of the modules are developed in python. I have few questions on this. I want to make this as an installable API, I mean to ...
1
vote
1answer
57 views

How can I upgrade a complete list of packages from stable to backports

I have installed Qt 4.8.2 from Debian Wheezy on my system. Now, some application requires Qt 4.8.3 on my machine, so I looked at the versions and found that Qt 4.8.6 is avaliable in Wheezy-Backports: ...
5
votes
3answers
5k views

How can I upgrade MySQL in Debian using apt-get?

I'm using the Turnkey Linux virtual machine. The version of Debian in there is apparently on the "Wheezy" upgrade path (if that's what you call it). I'm not completely comfortable with Linux, as you ...
1
vote
1answer
32 views

List installed packages only from disk image

My Raspberry running Raspbian crashed but I would like to know which packages I had installed on that SD card. Is there a way to detect that without actually booting the system?
5
votes
1answer
11k views

How do you fix apt-get update “Hash Sum mismatch”

I have an Ubuntu 12.04 virtual box vm that I instantiate using Vagrant. git clone https://github.com/spuder/puppet-gitlab vagrant up As soon as the vagrant box runs apt-get update, I get the ...
0
votes
1answer
65 views

Error in : sudo apt-get update

I am Using Linux Mint 17 : when I use sudo apt-get update I am getting the following error: W: Failed to fetch ...
0
votes
1answer
94 views

How can I install mplayer on debian sid?

I have this error message when trying to install mplayer on debian sid: # apt-get install mplayer Reading package lists... Done Building dependency tree Reading state information... Done Some ...
1
vote
1answer
64 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 ...
2
votes
1answer
358 views

Setting up a minimal apt-get environment

I would like to set up a minimal environment with apt-get then selectively install packages one at a time. My understanding is that this is basically what the Debian installer does. Is this ...
1
vote
1answer
17 views

What files does affect apt-get purge¿?

I want to know before doing apt-get purge <packet> what files thats gonna have effect on. The reverse thing would be, what packet do I have to do purge if I want to remove that file (apt-file ...
2
votes
1answer
61 views

Unable to install packages from raspbian repo

I am unable to install certain packages on raspbian. On trying to install ristretto, links2, pqiv, fim packages i get the following error "Unable to detect package" $ sudo apt-get install ristretto ...
4
votes
2answers
87 views

Force apt-get to prompt yes/no

Is there a way to force apt-get to display yes/no prompt? A --force-yes option exists, but there seems to be no --force-prompt or similar option. If you attempt to install a package that has all ...
1
vote
2answers
703 views

Installing latest r-base from r-project

I want to learn and use R, and so I need to install it. Unfortunately, Wheezy got only 2.15 version, while I need 3.1.1. I followed these instructions: http://cran.r-project.org/bin/linux/debian/ and ...
2
votes
1answer
506 views

Weird issue with unmet dependencies when cloning package states from earlier installation on same machine [closed]

I've been doing the usual routine of saving the package selections and also marking the packages as auto or manual as outlined in the question and answer here: Restoring all data from backup of dpkg ...
2
votes
2answers
333 views

What information do I need to solve an APT dependency issue?

I've seen several times people with unmet dependencies, which apt-get doesn't tells straightforward what's the problem, like this one: The following packages have unmet dependencies: ...
5
votes
1answer
151 views

How to stop `apt-get` complaining about unmet dependencies when I manually install the software from source? [duplicate]

I have been installing some applications onto my Debian system. Now there are some that have dependencies that I do not want installed with the applications at the moment. I have managed this by using ...
2
votes
3answers
2k views

Registering Ubuntu Client With Spacewalk

Right now I'm just testing the process for some desktop machines I'll be managing so I have a fresh install of Ubuntu 12.04.04 LTS. We have a non-satellite spacewalk server that I'd like to have ...
1
vote
2answers
38 views

reinstall removed core packages

I have accidentally deleted some Linux Mint Cinnamon default packages. (I have run `remove evolution-*' to remove Evolution related packages, but it includes some core packages). So now I don't have ...
4
votes
3answers
3k views

Make apt-get update and upgrade automate and unattended

I have about 7 Debian servers I manage, and I would like to set them to automatically update themselves. So, I created a script as such: #!/bin/sh apt-get update apt-get upgrade and placed it on ...
2
votes
1answer
692 views

understanding the output of “apt-cache policy”

I ran apt-cache policy sudo before and after installing sudo: before install: # apt-cache policy sudo sudo: Installed: (none) Candidate: 1.8.5p2-1+nmu1 Version table: 1.8.5p2-1+nmu1 0 ...
0
votes
1answer
70 views

Force the download and reinstallation of all Debian 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
1answer
93 views

Why “backporting process does not consider upstream releases”?

From http://opensourcehacker.com/2013/03/20/how-to-backport-packages-on-ubuntu-linux/ backportpackage will download the latest version of the package from Ubuntu archives. The latest ...
-2
votes
1answer
33 views

When will we use apt-get to download source? [closed]

In what situation, will we like to use apt-get to download source? Can's we install from binary installation by apt-get too? If we are to install from source, can't we download source from its ...
2
votes
2answers
2k views

Debian Squeeze apt-get update issue with HWRAID repositories

I'm running an inherited Debian Squeeze server (read: I just got this new job and the server was setup by the last guy), and I'm having an issue on the apt-get. The error at the end that comes up when ...
1
vote
1answer
448 views

apt-get update reports that http://ppa.launchpad.net list is being updated but there isn't an entry in the sources.list

I am trying to update Debian 6.5 and get the following errors. Err http://ppa.launchpad.net wheezy/main Sources 404 Not Found Err http://ppa.launchpad.net wheezy/main amd64 Packages ...
2
votes
1answer
34 views

apt pinning package versions

Is it possible to pin a version of a debian package? Is it possible to pin only the major version? (like with pip install "pyramid < 1.4.0" will install the latest 1.3.x but will not upgrade the ...
0
votes
0answers
94 views

How to cleanup apt-get update 404 errors in linux mint

I have looked at all questions about this matter and no one really answered it clearly. Is there a way to remove all the repositories that return a 404 error in apt-get? I tried fix404 ...
0
votes
1answer
41 views

How to minimize apt source.list

I think these lines can trim to few lines. So I need some advice. How can I improve these sources.list? apt/sources.list, Latest Debian release: deb http://security.debian.org/ wheezy/updates main ...
1
vote
1answer
119 views

Apt-get failing in bash script?

I have several machines (running Ubuntu LTS 12.4 64-bit) which need to be configured in the same way, so I created a shell script which will run automatically the first time the machine boots. It ...
1
vote
1answer
86 views

The pool cannot be imported, because is formatted using an incompatible version

I can't access my zfs pool on Debian as it's saying that my version is too old: root@Microknoppix:~# zpool import pool: WD_4TB id: 12726205736285302822 state: UNAVAIL status: The pool is ...
0
votes
1answer
83 views

cannot find php5-sqlrelay package

why i cannot find php5-sqlrelay package is there any issue with my update aptitude update Hit http://security.debian.org wheezy/updates Release.gpg Hit ...
1
vote
1answer
33 views

Can a .deb package remove other packages?

I'm trying to make a lightweight VM based on Xubuntu. I want to start with a stock Xubuntu installation and then remove any packages that I don't need. My concept is to build a .deb package that ...
4
votes
2answers
58 views

How to install a specific debian package

I want to install a particular version which is not available from apt-get utility but is available from https://packages.debian.org (like https://packages.debian.org/wheezy-backports/exfat-fuse for ...
1
vote
1answer
26 views

How can the integrity of Debian's debian-keyring package be verified?

I encountered a Debian machine that, when trying to update packages, threw the widely discussed "GPG error: http://security.debian.org wheezy/updates Release: The following signatures couldn't be ...
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
812 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
74 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
117 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
302 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
226 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 ...