Questions related to dpkg, the system that powers most software installs. (Note: apt-get is a very similar tag.)
0
votes
0answers
11 views
error: parsing file '/var/lib/dpkg/available' near line 13 package 'python-pkg-resources' [duplicate]
Possible Duplicate:
dpkg: error: parsing file ‘/var/lib/dpkg/available’ near line 13 package 'python-pkg-resources error
dpkg: error: parsing file '/var/lib/dpkg/available' near line 13 ...
0
votes
0answers
202 views
What does this error mean: “E: Sub-process /usr/bin/dpkg returned an error code (1)” - related to the installation of activity-log-manager ?
What I see is this:
incredible@incredible-Inspiron-N5010:~$ sudo apt-get -f install
[sudo] password for incredible:
Reading package lists... Done
Building dependency tree
Reading state ...
0
votes
1answer
130 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 ...
0
votes
1answer
42 views
Filesystem owner changed by mistake
I ran this command on my ubuntu 12.04 by mistake:
chown someuser / -R
On RHEL it would be fixed by this command:
rpm --setugids -a
Is there anyway to fix it in ubuntu server?
0
votes
1answer
210 views
dpkg: xml2-config is different from the same file on the system
I followed this procedure to restore a previously exported list of packages in a new system. At the end of the procedure, after sudo apt-get dselect-upgrade -y I got this message:
[cut]lot of output, ...
0
votes
0answers
303 views
dpkg: error: parsing file '/var/lib/dpkg/available' near line 13 package 'python-pkg-resources error
I got frustraded and re-installed ubuntu server. I'm at the point in the cmd line:
sudo apt-get update .. done
sudo apt-get upgrade .. done
sudo apt-get install linux-image-server ...
0
votes
0answers
180 views
E:sub-process /usr/bin/dpkg returned an error code (2) error [duplicate]
I got frustrated and re-instaled Ubuntu server .. I'm at the CLI
sudo apt-get update .. done
sudo apt-get upgrade .. done
sudo apt-get install linux-image-server linux-headders-server ...
2
votes
1answer
44 views
How do I specify a string to display in the Ubuntu software-center when creating a package with dpkg-deb?
When I open *.deb packages downloaded from the internet in the Ubuntu software-center, it displays a "nice" name for the package (including upper- and lowercase, spaces, special characters, ...).
...
0
votes
2answers
727 views
How to solve dpkg-source source problem when building a package?
Has anyone here had some experience creating a Debian / Ubuntu package? I am trying to backport the lammps package (http://packages.ubuntu.com/quantal/lammps) from Ubuntu 12.10 (Quantal) to Ubuntu ...
3
votes
1answer
81 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 ...
3
votes
2answers
445 views
Install usblib package - Ubuntu
I need the package libusb for another package I am installing.
I tried the following which seemed to install the package,
sudo apt-get install libusb-dev
but when I try to install the other ...
3
votes
2answers
472 views
Cannot use apt-get/dpkg — Input/output error
I have bumped into an issue that doesn't allow me to do anything related to apt-get: install, remove, etc. Whenever I try to do something (e.g. sudo apt-get install firefox -f) it gives me the same ...
0
votes
1answer
102 views
libxml2 package installed but cannot include, building libaiml
I am trying to build a library (libaiml). I was having problems installing the library using normal methods:
./configure ; make ; make install
In the README, the author says you should use this ...
0
votes
1answer
145 views
Software centre neither update does not work on 12.04
m@samsung:~$ sudo rm /var/lib/apt/lists/* -vf
[sudo] password for m:
rm: cannot remove `/var/lib/apt/lists/partial': Is a directory
m@samsung:~$ sudo apt-get clean
m@samsung:~$ sudo apt-get update
N: ...
2
votes
1answer
131 views
How to uninstall .deb python module
I have python2.7 default n ubuntu(64bit) , I have wrongly installed a python module (UNO module) which is for 32bit arch.
how I have installed
wget (uno-module32-version).deb
dpkg -i ...
2
votes
3answers
465 views
Reinstall Ubuntu keeping my data intact
I have recently upgraded my desktop OS from Ubuntu 12.04 to 12.10 (complete re-install). Before the switch I made a list of all programs installed on my Ubuntu 12.04.
sudo dpkg --get-selections > ...
1
vote
2answers
4k views
Cannot install Skype due to dependency errors; dpkg doesn't install dependencies [closed]
I'm trying to install the newest Skype version (4.1) on my Linux.
I have downloaded the skype-ubuntu-lucid_4.1.0.20-1_i386.deb package from the official Skype site.
I removed all installed versions ...
0
votes
1answer
402 views
Offline MySQL installation (Using deb file and no internet connection)
I downloaded MySQL's installation package and ran the following command after installing a fresh Ubuntu server.
dpkg -i mysql-5.5.28-debian6.0-x86_64.deb
It installed fine and then I tried starting ...
2
votes
1answer
509 views
Install deb package with all dependencies in same folder?
I need to install multiple deb files of same software from apt cache in another ubuntu installation.
For example, I have all deb files of vlc in same folder(/var/cache/apt/archives). I need to ...
1
vote
1answer
174 views
I Can't Install or Remove Any Application
when i try to install or remove an application via either software center or apt-get install they both fail and give some debconf errors below is the log please help.Sorry some of the text is not ...
0
votes
2answers
187 views
I can't install any package, dependency problems
The apt-get command doesn't work. When I try this sudo dpkg --configure -a, I get this:
dpkg: dependency problems prevent configuration of libc6:amd64:
libc6:amd64 depends on libgcc1; however:
...
2
votes
1answer
157 views
error processing software-center after upgrading precise to quantal
After upgrading precise to quantal I am totally unable to run apt-get upgrade or apt-get -f install
sam@ubuntu-vm:~$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree ...
0
votes
1answer
59 views
What to look for when reviewing dpkg status for indicator of an error? [closed]
I am reviewing the dpkg status file
to see if there is an error that might
be keeping me from upgrading. My first time
of really looking at a log file, generates the
following questions:
install ok ...
0
votes
2answers
144 views
How can I install dpkg-dev without installing gcc 4.6?
I have manually installed gcc/g++ 4.7 on my Ubuntu 12.04
When I run sudo apt-get install dpkg-dev it's trying to download and install g++ 4.6 which would obviously break 4.7.
How can I install ...
0
votes
0answers
372 views
Fixing check if the 'dpkg-dev' package is installed
How do you I fix error Check if the 'dpkg-dev' package is installed ?
I'm trying to run apt-get source php5 which fails with following error
sh: 1: dpkg-source: not found
Unpack command 'dpkg-source ...
0
votes
1answer
180 views
java2-runtime virtual package not considered installed by dpkg/apt-get
Did a fresh install of Quetzal Server, installed all updates. Installed default-jre-headless which pulled in OpenJDK 7 JRE without any X11-related packages. So far so good.
Now I try to install ...
2
votes
1answer
243 views
unstripped binary or object creating debian package
I'm new to package creation and I'm trying to create a .deb package and keep getting 'unstripped-binary-or-object' on all my libraries and executables.
I have everything setup in the directory tree ...
3
votes
2answers
513 views
fern-wifi-cracker “Exec format error” breaks packaging system
root@cunix:/home/cunix# sudo apt-get remove fern-wifi-cracker
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically ...
1
vote
1answer
313 views
Need help fixing DPKG errors after update from 12.04 to 12.10
So I was doing fine then i upgraded my system to 12.10 and now i cant get my system to update all of its packages properly. no matter what i do, what is happening here and how do i fix this. if i ...
0
votes
0answers
73 views
dpkg -l claims package not installed
I want to find packages whose names contains characters in a specified search string. Something similar to apt-cache search, but I also want the output to show whether the package is installed on my ...
0
votes
0answers
26 views
Updates in 12.10 [duplicate]
Possible Duplicate:
Fixing “Could not get lock /var/lib/dpkg/lock”
Since installing Ubuntu 12.10 on release day I have noticed that there have been hardly any updates.
Running Software ...
1
vote
0answers
54 views
dpkg error getting while upgrading from 12.04 to 12.10
How to solve this error:
dpkg: error: parsing file '/var/lib/dpkg/status' near line 15356
package 'libogg0': package has field 'Multi-Arch: same' but is missing architecture
1
vote
1answer
2k views
dpkg returned an error code(1) for libc6:i386 and libtinfo5:i386 while trying to install anything
When I try to install anything through apt-get or synaptic I keep on getting this
...
Fetched 23.6 MB in 1min 10s (336 kB/s)
debconf: DbDriver "config": ...
1
vote
4answers
1k views
dpkg: error: parsing file '/var/lib/dpkg/updates/0045' near line 0:
I am getting this error in Ubuntu 12.04 , while doing the below operation.
frank@august:~$ sudo apt-get install ttf-mscorefonts-installer
[sudo] password for frank:
E: dpkg was interrupted, you ...
0
votes
1answer
1k views
Install Brother MFC295CN drivers to Ubuntu
I'm trying to get the drivers for my printer going, and not doing well. I tried the following: http://ubuntuforums.org/showthread.php?t=1377270 and the sudo dpkg -i PACKAGE.deb format. It installs the ...
0
votes
2answers
430 views
Can't install software, dpkg returns error while processing python3-distupgrade
Installation of software results in the following error:
Processing triggers for desktop-file-utils ...
Setting up python3-distupgrade (1:0.190.2) ...
Could not import runpy module
Traceback (most ...
1
vote
3answers
2k views
How to reinstall a package
I am getting this while installing libebml3:
Errors were encountered while processing:
libebml3:i386
Error in function:
dpkg: error processing libebml3:i386 (--configure):
Package is in a very bad ...
1
vote
0answers
119 views
dpkg from URL wrapper not functioning… :(
I have modified an already available wrapper to execute the process in a safer manner. The containing script cat-s the body into an executable script under /usr/bin/.
#!/bin/bash
# dpkg-url #
...
0
votes
0answers
42 views
Installing SystemTap errors
I am trying to install SystemTap but I get the following error:
dpkg: error processing samba4 (--configure):
subprocess installed post-installation script returned error exit status 126
Errors were ...
1
vote
0answers
22 views
How to list programms with their dependency complete size
How to list by size installed packages with their dependecies with complete size and date?
0
votes
0answers
162 views
Unable to Start/Remove/Re-install/ mysql after upgrade to 12.04.1 from 10.04.4 (Server)
Upgrade went fine. Everything is OK except MYSQL. Mysql failed to start after the upgrade. I have tried all the workarounds given here MySQL fails to start after upgrade to 12.04? , but still no luck. ...
1
vote
2answers
2k views
How to repair dependencies in apt-get to the previous state?
Recently I tried installing teamviewer7 on my Ubuntu 12.04. I tried downloading the deb which due to some reason never did finish its download (stopped at ~~10MB/17MB).
Expectedly, installing the ...
4
votes
2answers
225 views
Enabling unattended-upgrades from a shell script
I have a shell script to automatically configure new Ubuntu virtual machines for my purposes. I would like this script to install and enable unattended-upgrades, but I cannot figure out how to do so ...
12
votes
7answers
11k views
How to install MySQL 5.6?
I just installed Ubuntu 12.10 (amd64), and want to install a recent version of MySQL 5.6.
If possible, I would like to install (not upgrade) it the "Debian Way' (i.e., using apt-get or dpkg).
The ...
2
votes
1answer
25 views
Configure packages during unattended installation
When installing certain packages, configuration options are presented at the end of the installation. However, when doing an unattended installation, it seems that the default options are always ...
0
votes
0answers
16 views
How to hind installed packages from a non-running machine?
The server I am working on will not boot so I am reinstalling the system on another hard drive. The hard drive on the server is bad but is still accessible. How would I get a list like dpkg from the ...
0
votes
0answers
1k views
Sub-process dpkg returned an error code (1)
I need help getting past a roadblock in doing updates on Ubuntu 12.04 on a x86_64.
When I run the following:
% sudo apt-get upgrade
I get:
Reading package lists... Done
Building dependency tree ...
3
votes
3answers
364 views
always purge on remove in package
I am maintaining a debian package, which includes some config files that are installed under /etc/. Is there a way I can somehow make the package to always automatically --purge itself whenever a user ...
0
votes
0answers
23 views
Polipo dpkg failure problem [duplicate]
Possible Duplicate:
polipo E: Sub-process /usr/bin/dpkg returned an error code (1)
This is the error I get each time I try to install polipo with the command apt-get install polipo or when ...
1
vote
1answer
155 views
dpkg --set-selections fails in 64-bit computer
I found a set of commands that creates a list of installed packages on a machine, and then reinstall the same packages in another machine. It seems that the command works fine on Ubuntu 32bit desktop, ...
