APT (Advanced Packaging Tool) is the standard software package management system for Debian and its derivatives.
1
vote
2answers
251 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 the packages in that text file from the system?
Also, if one package cannot be removes/wasn't installed in the first place can I ...
3
votes
1answer
4k views
Not able to lock /var/lib/dpkg/lock (read only)
I was trying to install ruby on my remote server(this is a vm machine(debian) in a esxi server . ) I got this error:
The Command:
sudo apt-get install ruby1.8
Error :
W: Not using locking for read ...
4
votes
1answer
335 views
How to safely resume an aptitude dist-upgrade after SSH timeout?
I started aptitude dist-upgrade over SSH on my local network. At some point the session timed out but the upgrade was not finished (it was left at one of those accept software agreement screens-- I ...
0
votes
2answers
51 views
Disable changelogs
I'm using Synaptic (and occasionally aptitude via ssh) under Debian.
When upgrading packages, there is the extremely annoying behavior of scanning changelogs, which can take a minute or two when ...
1
vote
2answers
155 views
Can I determine what changed in an upgraded package using apt or dpkg on Debian 6?
I just did an apt-get upgrade on my Debian 6 development server and noticed that a certain package named tinyproxy was upgraded. I have a particular interest in seeing precisely what changed in that ...
1
vote
3answers
2k views
The command to upgrade to a new kernel from Ubuntu repositories
In the distro I'm most familiar with -- ALTLinux, a command like apt-get install kernel-image-std-def#3.0.... would install another kernel, and update the initramfs and the bootloader config ...
0
votes
1answer
1k views
Can't upgrade VirtualBox in Mint 12
I'm running Linux Mint 12 x64 and can't get the latest virtualbox-4.1 update through apt.
I have the following line in my /etc/apt/sources.list:
deb http://download.virtualbox.org/virtualbox/debian ...
3
votes
1answer
49 views
Installed using apt-get, then ran out of storage
I attempted to install a large package, forgetting that I had little space left, and now I am a little stuck.
When I attempt to remove any packages I get the following error:
E: dpkg was ...
6
votes
2answers
110 views
Removed apt-get from Ubuntu
Well my fingers did manage to do sudo apt-get remove libstdc++6 and write, yes. That removed alot of system files. Is there any way to bring it up working again? I have connected to terminal, and wget ...
4
votes
2answers
1k views
How do I fix broken libxml2-dev dependency on Debian using apt?
When I run sudo apt-get upgrade on my Debian Squeeze install, I get the following error:
You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
...
1
vote
2answers
289 views
Is there a way to make apt report which packages in a dist-upgrade will use additional disk space?
I recently decided it was time to do the ol' dist-upgrade.
Since I don't upgrade often, I got this message:
deus@machina:~/$ sudo apt-get dist-upgrade
Reading package lists... Done
Building ...
1
vote
2answers
408 views
uwsgi install in Debian 6 (Squeeze) wants to upgrade libc6 and initscripts
I'd like to install uwsgi on my Debian server. This package wants to upgrade some core packages:
libc6 from 2.11.3-3 (now, stable) -> 2.13-35
initscripts from 2.88dsf-13.1+squeeze1 (now, stable) -> ...
2
votes
3answers
330 views
Trouble migrating from Yum to apt-get
I recently migrated from using Fedora to Debian. And I'm having some issues with the package manager.
I used to be able to search for packages via yum using :
yum search ...
2
votes
2answers
148 views
How to select packages start with “mate-” but not end with “-dev”?
I want to install all MATE packages,
$ sudo apt-get install '^mate'
However, it selects too many packages, and some packages are conflicted with some installed ones.
Now, I want to exclude them. ...
5
votes
3answers
428 views
Managing unofficial repositories on a Debian system
A few years ago I added this repository to my sources.list:
http://www.deb-multimedia.org/
because it contained packages like acroread or flash player, which were either missing or out of date in ...
1
vote
0answers
181 views
Mono spits out too many errors after update, try to reinstall, more errors
I had errors with apt-get update && apt-get dist-upgrade, from mono mono, so I tried this instead:
sudo apt-get install --reinstall banshee banshee-extension-soundmenu ...
0
votes
3answers
861 views
Cannot install openssh-server
root@abacus-desktop:~# apt-get install openssh-server
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run `apt-get -f install' to correct ...
13
votes
2answers
470 views
Why do package names contain version numbers?
While working with Ubuntu and other Debian-based distros, I've noticed that packages in the software repos often contain the major version number.
For example,
Apache: apache2
Tomcat: tomcat7
PHP: ...
6
votes
1answer
100 views
How did this bogus entry sneak into my apt sources?
A while ago, I decided to try dropbox. Since I could apt-get it, I thought it was free software.
However, I quickly discovered that the apt-get command only downloaded a downloader for dropbox ...
2
votes
1answer
223 views
git tab-completion does not work on Debian Wheezy but works on Squeeze
My question is about git command tab-completion, i.e. when I type git stat
and hit Tab, it completes the command line to git status. (Where
applicable, this also works with remote names and branch ...
3
votes
1answer
180 views
How does apt-get deal with multiple sources?
Let's say Ubuntu's repositories features a package.
I install that package using apt-get.
I then add an additional source (with add-apt-repository) that lists either a newer or older version of the ...
4
votes
3answers
446 views
Reset dselect selection before package installation
I was looking through the list of packages with dselect, but pressed Return twice by mistake, thereby making it confirm and quit the [S]elect option.
When I go to the [I]nstall option, it's now ...
2
votes
3answers
110 views
Scan and get the packages installed on Ubuntu along with the version
Is there any Python code to get the list of packages installed on Ubuntu along with the version of the package? I have seen Python code at Generating list of manually installed packages and querying ...
4
votes
1answer
1k views
I cannot install new packages: “Could not get lock /var/lib/dpkg/lock”
I am new to Linux (installed Ubuntu for the first time yesterday), and have never dealt with any unix-based OS. I started using Linux for the sole purpose of collaborating code with my partners via ...
4
votes
1answer
815 views
Aptitude on Debian 6.0.4 “media change” to CD ROM
I've just installed Debian 6.0.4 on VirtualBox, and I'm trying to install g++. So, into the terminal I typed:
aptitude install build-essential
But it's trying to get the package from disk:
Media ...
3
votes
3answers
265 views
What package managers do popular Unix Distributions Use?
I am creating a Script and I need to know what package manager each Popular Unix Distribution Uses (especially those distros that are commonly-used for Servers)...
I mean:
Debian uses apt-get
Fedora ...
2
votes
2answers
111 views
Is there a way to specify a name for “/etc/apt/sources.list” file?
Can the location for APT sources, named /etc/apt/sources.list, be named differently (e.g. /foo/my-renamed-apt-sources-file"), without breaking APT (i.e. via some configuration)?
1
vote
1answer
135 views
Getting the source for something that doesn't seem to have an associated package?
I recently just wanted to look at the source code for sha1sum.
alec@ROOROO:~/tmp-source-study$ apt-get source sha1sum
Reading package lists... Done
Building dependency tree
Reading state ...
1
vote
1answer
333 views
How to install a Debian package from internet?
I am trying to install Debian kernel sources using the following commands -
sudo apt-get install linux-headers-$(uname -r)
It prompts me to insert the Debian disk to continue the installation.
...
2
votes
2answers
2k views
apt-get install - where does it go?
Just a basic question on this utility... I did
sudo apt-get install libhtmlparser-java
And I would like to see the source I just downloaded. On Linux (Ubuntu) where ought I look for this?
6
votes
3answers
1k views
How to see package version without install?
I want to see the version of a package before I install it. How can I do this?
1
vote
1answer
184 views
How to purge package in debian without affecting other packages?
I had mysql-server-5.1 installed, then upgraded to mysql-server-5.5 and now upgraded to percona server (package percona-server-server-5.5).
So now I have 2 mysql-server packages removed, but not ...
4
votes
1answer
1k views
What does “The following packages have been kept back” mean?
When doing an apt-get upgrade I sometimes get a message saying "The following packages have been kept back". For example:
$ sudo apt-get upgrade ...
3
votes
1answer
1k views
How do I install mod_pagespeed using apt-get?
I remember seeing an article at one time on how to do this, but now I can't find it. I have seen other install directions. I want to make sure I can easily update it via apt.
0
votes
1answer
171 views
pattern to install dependencies in linux
Different OSes have different standard way of installing package dependencies; in OS X, all library dependencies are copied in the App folder.
Windows application developers have both options; they ...
3
votes
2answers
511 views
Does “apt-get purge” remove config files stored in user home dir?
I used
sudo apt-get purge [package_name]
and
sudo apt-get autoremove --purge
to remove an application so that on reinstalling it gets back to default configuration. But it didn't work, all ...
1
vote
0answers
305 views
Resolving unmet installation dependencies; file system problems
Somehow part of my ext3 file system got corrupted and large portions of my python installation got all sorts of messed up. The only thing I could notice immediately was Python raising a missing module ...
1
vote
1answer
928 views
build-dep firefox not working on Linux Mint
I'm on the latest Linux Mint 12. In order to compile Firefox I need to do a
sudo apt-get build-dep firefox
which isn't working and showing the following error:
$ sudo apt-get build-dep firefox
...
4
votes
2answers
3k views
Enabling apt repository priority in LMDE
I want to set up apt repository priority ordering in Linux Mint Debian Edition 2012.04. In /etc/apt/preferences the order should be: LMDE -> Debian testing -> Debian unstable. In other words, I almost ...
3
votes
3answers
143 views
Using the apt package manager refuse an update for a specific package
I am attempting to upgrade a few packages using the apt package manager. However there is a specific package in the list that I don't want to upgrade. In fact I don't want anyone to ever upgrade it. ...
4
votes
4answers
145 views
Is it possible to determine what is inside Debian package without installing it?
I need a markdown library for development - based on package names I could not understand which one I should install...
den@playground:~$ sudo aptitude search markdown
p html2markdown ...
3
votes
3answers
318 views
Why does installing python-minimal package also grab the python package on Debian?
From running:
apt-cache depends python2.6-minimal | grep Depends
and
apt-cache depends python2.6 | grep Depends
it looks like python2.6 depends on python2.6-minimal and a lot more.
However, ...
3
votes
1answer
328 views
Are bsdutils, coreutils, and busybox all necessary in a Debian install?
I first installed Debian with a netinst CD without networking, then edited /etc/apt/sources.list to point to the main repository, then ran dhclient eth0 to set up networking. Then I installed less. ...
6
votes
3answers
688 views
In debian based systems, how do we purge configuration files of packages that have already been uninstalled?
To be more specific, I would like to do the equivalent of adding the --purge flag to the following command
sudo apt-get autoremove --purge [package name]
to packages that are no longer on the ...
1
vote
1answer
173 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 ...
4
votes
1answer
646 views
Why did adding the Debian testing repository create so many package dependencies?
I have Debian 6.0.4, and I'm running an outdated Geany text editor package. There's no newer version available in the current stable repository, so I added testing packages to sources.list:
#debian ...
1
vote
3answers
16k views
Installing git “sudo: apt-get: command not found”
I am trying to install git. I run the following command:
sudo apt-get install git-core git-gui git-doc
But receive the following error:
sudo: apt-get: command not found
What should I do?
2
votes
2answers
3k views
How can I update to a newer version of Git using apt-get?
I've just set up a new machine with Ubuntu Oneiric 11.10 and then run
apt-get update
apt-get upgrade
apt-get install git
Now if I run git --version it tells me I have git version 1.7.5.4 but on my ...
3
votes
2answers
2k views
Fixing broken packages in a Debian testing distribution
I'm playing around with Linux Mint Debian Edition (LMDE) in a VirtualBox instance to try it out and see if it'd be good for a main operating system for me. I'm pretty competent with most system ...
1
vote
2answers
382 views
problems installing lcov on Debian 6
I have been stuck for a few hours trying to install lcov on a debian 6 box.
Any help would be greatly appreciated!
What I have tried the following in the command line:
...