Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
06-25-2012, 03:46 AM
|
#1
|
LQ Newbie
Registered: Jan 2012
Location: iran
Posts: 18
Rep: 
|
An error at upgrade
Hi every body
when i use upgrade commanad in my Debian Squeez it show's this error:
Code:
root@Debian:~# aptitude upgrade
The following partially installed packages will be configured:
man-db
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B of archives. After unpacking 0 B will be used.
debconf: Perl may be unconfigured (Can't locate strict.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.10.1 /usr/local/share/perl/5.10.1 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at (eval 1) line 2.
BEGIN failed--compilation aborted at (eval 1) line 2.
) -- aborting
Setting up man-db (2.5.7-8) ...
Can't locate strict.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.10.1 /usr/local/share/perl/5.10.1 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at /usr/share/debconf/frontend line 5.
BEGIN failed--compilation aborted at /usr/share/debconf/frontend line 5.
dpkg: error processing man-db (--configure):
subprocess installed post-installation script returned error exit status 2
configured to not write apport reports
Errors were encountered while processing:
man-db
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Setting up man-db (2.5.7-8) ...
Can't locate strict.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.10.1 /usr/local/share/perl/5.10.1 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at /usr/share/debconf/frontend line 5.
BEGIN failed--compilation aborted at /usr/share/debconf/frontend line 5.
dpkg: error processing man-db (--configure):
subprocess installed post-installation script returned error exit status 2
Errors were encountered while processing:
man-db
whats the problem?
|
|
|
06-25-2012, 10:08 AM
|
#2
|
Member
Registered: Apr 2010
Location: Bayreuth, Germany
Distribution: CrunchBang Linux (#!)
Posts: 111
Rep:
|
hi, you need to update the packages list before doing an upgrade, have you run
first?
Last edited by VDP76; 06-25-2012 at 10:09 AM.
|
|
|
06-25-2012, 12:56 PM
|
#3
|
LQ Newbie
Registered: Jan 2012
Location: iran
Posts: 18
Original Poster
Rep: 
|
yes i always use update before upgrade
|
|
|
06-25-2012, 01:30 PM
|
#5
|
Member
Registered: Apr 2010
Location: Bayreuth, Germany
Distribution: CrunchBang Linux (#!)
Posts: 111
Rep:
|
Quote:
Originally Posted by esfahan2000
yes i always use update before upgrade
|
just checking.. 
have you also tried to do
Code:
aptitude safe-upgrade
!?
|
|
|
06-25-2012, 11:13 PM
|
#6
|
LQ Newbie
Registered: Jan 2012
Location: iran
Posts: 18
Original Poster
Rep: 
|
no it doesnt work ....
|
|
|
06-25-2012, 11:32 PM
|
#7
|
LQ Addict
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841
|
Maybe you should post your /etc/apt/sources.list & let someone check it out.
|
|
|
06-25-2012, 11:34 PM
|
#8
|
LQ Newbie
Registered: Jan 2012
Location: iran
Posts: 18
Original Poster
Rep: 
|
this is the result:
Code:
# deb cdrom:[Debian GNU/Linux 6.0.2.1 _Squeeze_ - Official i386 DVD Binary-1 20110626-15:45]/ squeeze contrib main
# deb cdrom:[Debian GNU/Linux 6.0.2.1 _Squeeze_ - Official i386 DVD Binary-1 20110626-15:45]/ squeeze contrib main
deb http://security.debian.org/ squeeze/updates main contrib
deb-src http://security.debian.org/ squeeze/updates main contrib
# squeeze-updates, previously known as 'volatile'
# A network mirror was not selected during install. The following entries
# are provided as examples, but you should amend them as appropriate
# for your mirror of choice.
#
# deb http://ftp.debian.org/debian/ squeeze-updates main contrib
deb-src http://ftp.debian.org/debian/ squeeze-updates main contrib
deb ftp://ftp.debian.org/debian/ stable non-free contrib main
deb http://download.virtualbox.org/virtualbox/debian squeeze contrib non-free
|
|
|
06-26-2012, 09:58 AM
|
#9
|
Member
Registered: Apr 2010
Location: Bayreuth, Germany
Distribution: CrunchBang Linux (#!)
Posts: 111
Rep:
|
the sources look fine...and, as you might know, google doesn't help much, there are threads with similar issues but no solution.
I am afraid we have to consider the option of some problem with the hard disk and/or corrupted system...I would suggest to try booting from a live cd and run
(or sdX according to your HD naming) or to force a full scan.
|
|
|
06-26-2012, 10:41 AM
|
#10
|
LQ Newbie
Registered: Jan 2012
Location: iran
Posts: 18
Original Poster
Rep: 
|
Quote:
Originally Posted by VDP76
the sources look fine...and, as you might know, google doesn't help much, there are threads with similar issues but no solution.
I am afraid we have to consider the option of some problem with the hard disk and/or corrupted system...I would suggest to try booting from a live cd and run
(or sdX according to your HD naming) or to force a full scan.
|
thanks for help but
my distro is debian it has no live Cd .
how can i use it live?
|
|
|
06-26-2012, 10:49 AM
|
#11
|
Member
Registered: Apr 2010
Location: Bayreuth, Germany
Distribution: CrunchBang Linux (#!)
Posts: 111
Rep:
|
Quote:
Originally Posted by esfahan2000
thanks for help but
my distro is debian it has no live Cd .
how can i use it live?
|
there is the Debian Live Project but I think you could do a check disk from any distro's live cd like *buntu or some Debian-based one like #!... 
|
|
|
06-26-2012, 12:01 PM
|
#12
|
LQ Addict
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841
|
If using non-free you should add to the other 4 repos also.
Then aptitude update
|
|
|
All times are GMT -5. The time now is 11:39 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|