0
votes
0answers
33 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
34 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
266 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
247 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
70 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
178 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
2answers
7k 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
3k 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
363 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 ...
3
votes
1answer
130 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
404 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
390 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 ...
4
votes
1answer
4k views

How do I recreate a deleted '/var/lib/dpkg' directory?

Yesterday I had some problem with /var/lib/dpkg/lock during update. I knew that in such cases removing lock file could solve problem. So I tried to do it, but by mistake I removed all DPKG directory. ...
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
170 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 ...
18
votes
3answers
3k views

How to find the number of packages needing update from the command line?

I'm working on some system admin automation using fabric and I'd like to be able to monitor the number of packages that need upgrading on a given machine. This is the same information that I can see ...
11
votes
3answers
4k 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
647 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!
15
votes
2answers
7k 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 | ...
17
votes
4answers
8k 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: ...