1
vote
3answers
193 views

Check dependencies and generate download script before installing by dpkg [duplicate]

I used to install packages with dpkg -i *.deb command for off-line installation. Because all deb files are in one folder. I want to avoid dependency error and stop installing packages as broken. ...
0
votes
0answers
35 views

Problems in installing packages from terminal [duplicate]

Whenever I try to install any missing packages from my terminal by using the command sudo apt-get install (package name) It shows the following error: E: Could not get lock /var/lib/dpkg/lock - ...
1
vote
2answers
36 views

Installation of a package with parameters being prompted on cli

Say, I need to install a package using "dpkg -i" option, which would prompt user for some values say username and password. I can easily get it, as user enters, from terminal and proceed with ...
0
votes
1answer
287 views

Update error Xubuntu 13.04

When I try to install or remove items I'm unable to do so due to 3 programs that aren't fully installed. Ive tried removing them and reinstalling but no luck when I tried to configure I got this:- ...
1
vote
1answer
459 views

Term for “Modified (by you or by a script) since installation.” dialogue?

Sometimes I see the following dialog. Configuration file `/etc/...' ==> Modified (by you or by a script) since installation. ==> Package distributor has shipped an updated version. What ...
0
votes
1answer
73 views

cant install a thing! [duplicate]

OK. So when I try to install a something in the terminal, I get: E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution). I then try using apt-get -f install, but ...
3
votes
2answers
180 views

What does this info mean when I fire `dpkg -l lxpanel`?

When trying to see the version of LXPanel and fire dpkg -l lxpanel, I get ~$ dpkg -l lxpanel Desired=Unknown/Install/Remove/Purge/Hold | ...
5
votes
1answer
3k views

apt-get install git-core failed

After running sudo apt-get install git-core, I get Unpacking git-core (from .../git-core_1%3a1.7.4.1-3_all.deb) ... Errors were encountered while processing: ...
5
votes
2answers
11k views

How do I become a “superuser”?

The following command fails with an error: $ dpkg -i libmotif*i386.deb dpkg: error: requested operation requires superuser privilege How do I become a superuser? I thought I was the superuser?
4
votes
1answer
5k views

How do I fix a “Unknown configuration key `foreign-architecture' found in your `dpkg' configuration files.” error?

Always when I install something, I get the following error multiple times: Unknown configuration key 'foreign-architecture' found in your 'dpkg' configuration files. This warning will become a ...
0
votes
1answer
462 views

Why dpkg says 'illegal package name in specifier' when I try to remove a package?

Whenever I type into the terminal the command: sudo dpkg -r '/home/brentonhorne/Downloads/virtualbox.deb' I receive the error: dpkg: error: --remove needs a valid package name but ...
4
votes
1answer
165 views

How to get a list of files for a package I haven't installed yet?

apt-cache search returns list of available packages. In my case I would like to look at the list of files that would be installed on my PC in case I install the package usb-creator-gtk. Something ...
2
votes
1answer
544 views

How to cd to where I extracted a package, and run dpkg-deb -D?

I am following the step-by-step instructions on how to install ThinkPad Fan Control here but I could not get past this step (seen below): Open a terminal and run this command: Code: ...
1
vote
2answers
443 views

Dpkg error when trying to uninstall java

I have been trying to uninstall jre6 but I keep getting the error dpkg: warning: there's no installed package matching sun-java6-jre:amd64 I've tried sudo apt-get --purge remove sun-java6\* vim and ...
1
vote
1answer
3k views

How to download a package for offline installation? [duplicate]

Possible Duplicate: How can I install software offline? sudo apt-get install {x} ex: X = ghdl I want download the package "X" to my USB . How can I do that ? Second, my computer ...
3
votes
1answer
180 views

What can I use to install a package file with dependency from command line?

I want to install my project's debian package from a shell script. For that I'm using the command sudo dpkg -i my_project_0.1.deb. But it's not going to install dependency. I've also tried sudo dpkg ...
15
votes
3answers
5k views

How to list packages from a ppa/source in command line?

I want to list all the files from a source, say extras.ubuntu.com from the command line. What is the command for that? dpkg --list lists all files or just the filename.
4
votes
2answers
761 views

How to list currently not installed packages?

I'd like to output a list of all currently not installed packages (they are visible in Synaptic for example) using only shell commands. How do I do this? Thanks!
18
votes
2answers
10k views

What do the various dpkg flags like 'ii' 'rc' mean?

I frequently need to check which packages are installed, and I use the following command: dpkg -l | grep foo which gives the following output Desired=Unknown/Install/Remove/Purge/Hold | ...
22
votes
4answers
14k views

How can I find the version number of an installed package via dpkg?

I use the dpkg -l command to find out what version of a package I have installed. For example: dpkg -l network-manager returns the information on the package: ...