solved i put the disk back in this ? did not help

Asked by john

i have 8.10 ubuntu
i cant get cheese to load with package manager
the updater worked yesterday
but not today it has 1 update it just runs an runs i click details says libperl 5.1o is missing
totom needs gstreamer extra plugins & gstreamer ffmpeg video plugin

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu perl Edit question
Assignee:
No assignee Edit question
Solved by:
john
Solved:
Last query:
Last reply:
Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#1

Open a Terminal from the menu Applications → Accessories → Terminal and type:
(if the system ask you a password give your user password, you will not see nothing when you type it, then press enter)

sudo dpkg --configure -a
sudo apt-get -f install
sudo apt-get update

sudo apt-get install libperl5.10

Hope this helps

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#2

Play mp3 and dvd under Ubuntu install skype googleearth acroread and other stuffs using Medibuntu

First please install https://help.ubuntu.com/community/RestrictedFormats

You need to have extra repositories enabled..

Please first enable the universe and multiverse repository:

Open System → Administration → Software sources → [ Tab Ubuntu software ]

enable "Community-mainteined Open Source software ( universe )"
enable "Proprietary drivers for devices ( restricted )"
enable "Software restrictecd by copyright or legal issue ( multiverse )"

Close and confirm the repository reload.

Type the following command in a terminal (applications → accessories → terminal)

sudo aptitude install vlc

To get better dvd playback and optional packages here the medibuntu available software list http://packages.medibuntu.org/
you need to add the medibuntu http://www.medibuntu.org/ repository to your /etc/apt/sources.list file:
( here the medibuntu howto https://help.ubuntu.com/community/Medibuntu but see below )

In short type or better copy and paste the rows, below one row a time then press enter:

ubu_codename=$(sudo lsb_release -c | cut -d: -f 2 | sed 's/^[ \t]*//;s/[ \t]*$//')
sudo wget http://www.medibuntu.org/sources.list.d/$ubu_codename.list -O /etc/apt/sources.list.d/medibuntu.list
wget -q http://packages.medibuntu.org/medibuntu-key.gpg -O- | sudo apt-key add - && sudo apt-get update

Now to install, type:

sudo apt-get update
sudo apt-get install ubuntu-restricted-extras libxine1-ffmpeg
sudo aptitude install libdvdread3 libdvdnav4 libdvdcss2 regionset gnome-mplayer
sudo aptitude install non-free-codecs w32codecs
sudo aptitude install gstreamer0.10-pitfdll gstreamer0.10-plugins-good
sudo aptitude install gstreamer0.10-plugins-ugly gstreamer0.10-plugins-ugly-multiverse

give your user password when requested, you don't see nothing when you type it, then press enter.

You can also install other Medibuntu repository provided optional software http://packages.medibuntu.org/ :

sudo apt-get install skype
sudo apt-get install googleearth
sudo apt-get install acroread

Hope this helps

Revision history for this message
john (no2498) said :
#3

libperl5.10 is already the newest version.
The following packages were automatically installed and are no longer required:
  linux-headers-2.6.27-7 linux-headers-2.6.27-7-generic
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
no2498@no2498-desktop:~$ apt-get autoremove
E: Could not open lock file /var/lib/dpkg/lock - open (13 Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?

Revision history for this message
john (no2498) said :
#4

 applications → accessories → terminal
bash: applications: command not found

Revision history for this message
john (no2498) said :
#5

Fetched 22.1MB in 30s (728kB/s)
Extracting templates from packages: 100%
(Reading database ...
dpkg: serious warning: files list file for package `libperl5.10' missing, assuming package has no files currently installed.

Revision history for this message
john (no2498) said :
#6

Get:4 http://packages.medibuntu.org intrepid/non-free Packages [12.6kB]
Fetched 28.0kB in 1s (23.3kB/s)
E: Could not get lock /var/lib/dpkg/lock - open (11 Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?

Revision history for this message
john (no2498) said :
#7

no2498@no2498-desktop:~$ ubu_codename=$(sudo lsb_release -c | cut -d: -f 2 | sed 's/^[ \t]*//;s/[ \t]*$//')
[sudo] password for no2498:
no2498@no2498-desktop:~$ ubu_codename=$(sudo lsb_release -c | cut -d: -f 2 | sed 's/^[ \t]*//;s/[ \t]*$//')
no2498@no2498-desktop:~$ sudo wget http://www.medibuntu.org/sources.list.d/$ubu_codename.list -O /etc/apt/sources.list.d/medibuntu.list
--2009-02-05 14:49:08-- http://www.medibuntu.org/sources.list.d/intrepid.list
Resolving www.medibuntu.org... 87.98.242.110
Connecting to www.medibuntu.org|87.98.242.110|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 230 [text/plain]
Saving to: `/etc/apt/sources.list.d/medibuntu.list'

100%[======================================>] 230 --.-K/s in 0s

2009-02-05 14:49:08 (10.4 MB/s) - `/etc/apt/sources.list.d/medibuntu.list' saved [230/230]

no2498@no2498-desktop:~$
no2498@no2498-desktop:~$ wget -q http://packages.medibuntu.org/medibuntu-key.gpg -O- | sudo apt-key add - && sudo apt-get update
OK
Hit http://security.ubuntu.com intrepid-security Release.gpg
Ign http://security.ubuntu.com intrepid-security/main Translation-en_US
Hit http://us.archive.ubuntu.com intrepid Release.gpg
Ign http://us.archive.ubuntu.com intrepid/main Translation-en_US
Hit http://archive.ubuntu.com intrepid Release.gpg
Get:1 http://packages.medibuntu.org intrepid Release.gpg [197B]
Ign http://packages.medibuntu.org intrepid/free Translation-en_US
Ign http://security.ubuntu.com intrepid-security/restricted Translation-en_US
Ign http://security.ubuntu.com intrepid-security/universe Translation-en_US
Ign http://security.ubuntu.com intrepid-security/multiverse Translation-en_US
Hit http://security.ubuntu.com intrepid-security Release
Hit http://archive.ubuntu.com intrepid Release
Ign http://us.archive.ubuntu.com intrepid/restricted Translation-en_US
Ign http://us.archive.ubuntu.com intrepid/universe Translation-en_US
Ign http://us.archive.ubuntu.com intrepid/multiverse Translation-en_US
Hit http://us.archive.ubuntu.com intrepid-updates Release.gpg
Ign http://us.archive.ubuntu.com intrepid-updates/main Translation-en_US
Ign http://us.archive.ubuntu.com intrepid-updates/restricted Translation-en_US
Ign http://us.archive.ubuntu.com intrepid-updates/universe Translation-en_US
Ign http://us.archive.ubuntu.com intrepid-updates/multiverse Translation-en_US
Hit http://us.archive.ubuntu.com intrepid Release
Ign http://packages.medibuntu.org intrepid/non-free Translation-en_US
Get:2 http://packages.medibuntu.org intrepid Release [11.7kB]
Hit http://us.archive.ubuntu.com intrepid-updates Release
Hit http://security.ubuntu.com intrepid-security/main Packages
Hit http://archive.ubuntu.com intrepid/main Sources
Hit http://us.archive.ubuntu.com intrepid/main Packages
Hit http://us.archive.ubuntu.com intrepid/restricted Packages
Hit http://us.archive.ubuntu.com intrepid/restricted Sources
Hit http://us.archive.ubuntu.com intrepid/main Sources
Hit http://us.archive.ubuntu.com intrepid/multiverse Sources
Hit http://security.ubuntu.com intrepid-security/restricted Packages
Hit http://security.ubuntu.com intrepid-security/restricted Sources
Hit http://security.ubuntu.com intrepid-security/main Sources
Hit http://security.ubuntu.com intrepid-security/multiverse Sources
Hit http://archive.ubuntu.com intrepid/restricted Sources
Get:3 http://packages.medibuntu.org intrepid/free Packages [3518B]
Hit http://us.archive.ubuntu.com intrepid/universe Sources
Hit http://us.archive.ubuntu.com intrepid/universe Packages
Hit http://us.archive.ubuntu.com intrepid/multiverse Packages
Hit http://us.archive.ubuntu.com intrepid-updates/main Packages
Hit http://us.archive.ubuntu.com intrepid-updates/restricted Packages
Hit http://us.archive.ubuntu.com intrepid-updates/restricted Sources
Hit http://us.archive.ubuntu.com intrepid-updates/main Sources
Hit http://us.archive.ubuntu.com intrepid-updates/multiverse Sources
Hit http://security.ubuntu.com intrepid-security/universe Sources
Hit http://security.ubuntu.com intrepid-security/universe Packages
Hit http://security.ubuntu.com intrepid-security/multiverse Packages
Hit http://us.archive.ubuntu.com intrepid-updates/universe Sources
Hit http://us.archive.ubuntu.com intrepid-updates/universe Packages
Hit http://us.archive.ubuntu.com intrepid-updates/multiverse Packages
Get:4 http://packages.medibuntu.org intrepid/non-free Packages [12.6kB]
Fetched 28.0kB in 1s (23.3kB/s)
E: Could not get lock /var/lib/dpkg/lock - open (11 Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
no2498@no2498-desktop:~$ sudo apt-get update
Hit http://us.archive.ubuntu.com intrepid Release.gpg
Ign http://us.archive.ubuntu.com intrepid/main Translation-en_US
Ign http://us.archive.ubuntu.com intrepid/restricted Translation-en_US
Hit http://archive.ubuntu.com intrepid Release.gpg
Hit http://security.ubuntu.com intrepid-security Release.gpg
Ign http://security.ubuntu.com intrepid-security/main Translation-en_US
Ign http://security.ubuntu.com intrepid-security/restricted Translation-en_US
Hit http://packages.medibuntu.org intrepid Release.gpg
Ign http://packages.medibuntu.org intrepid/free Translation-en_US
Ign http://us.archive.ubuntu.com intrepid/universe Translation-en_US
Ign http://us.archive.ubuntu.com intrepid/multiverse Translation-en_US
Hit http://us.archive.ubuntu.com intrepid-updates Release.gpg
Ign http://us.archive.ubuntu.com intrepid-updates/main Translation-en_US
Ign http://us.archive.ubuntu.com intrepid-updates/restricted Translation-en_US
Ign http://us.archive.ubuntu.com intrepid-updates/universe Translation-en_US
Ign http://us.archive.ubuntu.com intrepid-updates/multiverse Translation-en_US
Hit http://archive.ubuntu.com intrepid Release
Hit http://us.archive.ubuntu.com intrepid Release
Ign http://security.ubuntu.com intrepid-security/universe Translation-en_US
Ign http://security.ubuntu.com intrepid-security/multiverse Translation-en_US
Hit http://security.ubuntu.com intrepid-security Release
Ign http://packages.medibuntu.org intrepid/non-free Translation-en_US
Hit http://packages.medibuntu.org intrepid Release
Hit http://us.archive.ubuntu.com intrepid-updates Release
Hit http://archive.ubuntu.com intrepid/main Sources
Hit http://us.archive.ubuntu.com intrepid/main Packages
Hit http://security.ubuntu.com intrepid-security/main Packages
Hit http://packages.medibuntu.org intrepid/free Packages
Hit http://archive.ubuntu.com intrepid/restricted Sources
Hit http://us.archive.ubuntu.com intrepid/restricted Packages
Hit http://us.archive.ubuntu.com intrepid/restricted Sources
Hit http://us.archive.ubuntu.com intrepid/main Sources
Hit http://us.archive.ubuntu.com intrepid/multiverse Sources
Hit http://us.archive.ubuntu.com intrepid/universe Sources
Hit http://security.ubuntu.com intrepid-security/restricted Packages
Hit http://security.ubuntu.com intrepid-security/restricted Sources
Hit http://security.ubuntu.com intrepid-security/main Sources
Hit http://security.ubuntu.com intrepid-security/multiverse Sources
Hit http://packages.medibuntu.org intrepid/non-free Packages
Hit http://us.archive.ubuntu.com intrepid/universe Packages
Hit http://us.archive.ubuntu.com intrepid/multiverse Packages
Hit http://us.archive.ubuntu.com intrepid-updates/main Packages
Hit http://us.archive.ubuntu.com intrepid-updates/restricted Packages
Hit http://us.archive.ubuntu.com intrepid-updates/restricted Sources
Hit http://us.archive.ubuntu.com intrepid-updates/main Sources
Hit http://us.archive.ubuntu.com intrepid-updates/multiverse Sources
Hit http://security.ubuntu.com intrepid-security/universe Sources
Hit http://security.ubuntu.com intrepid-security/universe Packages
Hit http://security.ubuntu.com intrepid-security/multiverse Packages
Hit http://us.archive.ubuntu.com intrepid-updates/universe Sources
Hit http://us.archive.ubuntu.com intrepid-updates/universe Packages
Hit http://us.archive.ubuntu.com intrepid-updates/multiverse Packages
E: Could not get lock /var/lib/dpkg/lock - open (11 Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
no2498@no2498-desktop:~$ sudo apt-get install ubuntu-restricted-extras libxine1-ffmpeg
E: Could not get lock /var/lib/dpkg/lock - open (11 Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
no2498@no2498-desktop:~$ sudo aptitude install libdvdread3 libdvdnav4 libdvdcss2 regionset gnome-mplayer
E: Could not get lock /var/lib/dpkg/lock - open (11 Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
E: Could not get lock /var/lib/dpkg/lock - open (11 Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
no2498@no2498-desktop:~$ sudo aptitude install non-free-codecs w32codecs
E: Could not get lock /var/lib/dpkg/lock - open (11 Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
E: Could not get lock /var/lib/dpkg/lock - open (11 Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
no2498@no2498-desktop:~$ sudo aptitude install gstreamer0.10-pitfdll gstreamer0.10-plugins-good
E: Could not get lock /var/lib/dpkg/lock - open (11 Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
E: Could not get lock /var/lib/dpkg/lock - open (11 Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
no2498@no2498-desktop:~$ sudo aptitude install gstreamer0.10-plugins-ugly gstreamer0.10-plugins-ugly-multiverse
E: Could not get lock /var/lib/dpkg/lock - open (11 Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
E: Could not get lock /var/lib/dpkg/lock - open (11 Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
no2498@no2498-desktop:~$ sudo apt-get install skype
E: Could not get lock /var/lib/dpkg/lock - open (11 Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?

Revision history for this message
john (no2498) said :
#8

 sudo dpkg --configure -a
dpkg: status database area is locked by another process

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#9

Ok previuos commands seems to be successfully executed.

You get the:
Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
and
dpkg: status database area is locked by another process

I think because:

Ubuntu at startup or on regular basis try to download security updates so please simply retry this commands after waiting some minutes (15 minutes or more, medibuntu is very used so it have a not very high download speed ), then redo this commands:

sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade

Hope this helps

Revision history for this message
john (no2498) said :
#10

E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.

Revision history for this message
john (no2498) said :
#11

no2498@no2498-desktop:~$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
no2498@no2498-desktop:~$ sudo apt-get dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
no2498@no2498-desktop:~$
i can get this far

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#12

The "dpkg --configure -a" is asked by the system when a previous update/upgrade process have not completely performed good, and it must run with "root" privileged administrative user.
Using the "sudo" command we can do a command as "root" user, and "dpkg --configure -a" need be run from root user.
After the "dpkg --configure -a" command i add all the usual commands (see below) you can run to be sure your system became fully upgraded.

Please also subcribe this bug https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/108601/

Typing the commands as sudo the system will ask you for a password, please give your user password when requested, you don't see nothing when you type it, then press enter.

So please be sure your system is fully updated/upgraded with no pending packages or errors:

Open a Terminal from the menu Applications → Accessories → Terminal and type:
(if the system ask you a password give your user password, you will not see nothing when you type it, then press enter)

sudo dpkg --configure -a
sudo apt-get -f install
sudo apt-get --fix-missing install
sudo apt-get update
sudo apt-get upgrade
sudo apt-get autoremove

Hope this helps

Revision history for this message
john (no2498) said :
#13

ok how do i do root

Revision history for this message
john (no2498) said :
#14

new to ubuntu 810
an thank you so far
john

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#15

You don't need to get plain root access we usually don't do it.

You must only prefix your commands with "sudo" to get them executed as root user.

See my previous answer.

Hope this helps

Revision history for this message
john (no2498) said :
#16

it http://archive.ubuntu.com intrepid-security/universe Packages
Hit http://archive.ubuntu.com intrepid-security/multiverse Packages
Reading package lists... Done
no2498@no2498-desktop:~$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
no2498@no2498-desktop:~$ sudo apt-get autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  linux-headers-2.6.27-7 linux-headers-2.6.27-7-generic
The following packages will be REMOVED:
  linux-headers-2.6.27-7 linux-headers-2.6.27-7-generic
0 upgraded, 0 newly installed, 2 to remove and 0 not upgraded.
After this operation, 52.0MB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ...
dpkg: serious warning: files list file for package `libperl5.10' missing, assuming package has no files currently installed.

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#17

Please try to force a reinstallation of libperl5.10 package.

sudo apt-get --reinstall install libperl5.10

Hope this helps

Revision history for this message
john (no2498) said :
#18

o2498@no2498-desktop:~$ sudo apt-get --reinstall install libperl5.10
E: Could not get lock /var/lib/dpkg/lock - open (11 Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
no2498@no2498-desktop:~$

Revision history for this message
john (no2498) said :
#19

ok i give up for tonight ill be back in the am

Revision history for this message
john (no2498) said :
#20

ok came backin the am no anser so i put the cd back in
thing are working agan