انجمنهای فارسی اوبونتو
کمک و پشتیبانی => نصب، راهاندازی و بروزآوری => نویسنده: esfahan2000 در 05 تیر 1391، 07:02 بظ
-
با سلام به همه دوستان و اساتید
موقعی که اپگرید را انجام میدم این خطا را میده:
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
-
sudo dpkg-reconfigure man-db
sudo apt-get install -f
sudo apt-get update && apt-get upgrade
-
نشد این خطا را داد:
root@Debian:~# dpkg-reconfigure man-db
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/sbin/dpkg-reconfigure line 8.
BEGIN failed--compilation aborted at /usr/sbin/dpkg-reconfigure line 8.
-
درود
ببینید این کار میده :
http://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&ved=0CLIBEBYwAA&url=http%3A%2F%2Fubuntuforums.org%2Farchive%2Findex.php%2Ft-1462788.html&ei=d27pT6T5NY_RsgawytHvDg&usg=AFQjCNHpsTCoI6tPeFuwJ-jlfuff9XKN-Q&sig2=WSZ9CF3g1yg0LaRe3eXO_g
اگر نه خروجی دستورات زیر رو بذارید ببینیم میشه چیزی فهمید :
apt-get update
apt-get dist-upgrade
اگر کار نداد باز ببینید میشه پکیج رو پاک کرد یا نه :
apt-get purge man-db
-
esfahan2000 جان تو انجمن لینوکس هم مطرح کردن جواب نگرفتن :D
-
esfahan2000 جان تو انجمن لینوکس هم مطرح کردن جواب نگرفتن :D
یه ۲۰ جا تا حالا مطرحش کردم اما جواب نگرفتم ](*,)
-
esfahan2000 جان تو انجمن لینوکس هم مطرح کردن جواب نگرفتن :D
یه ۲۰ جا تا حالا مطرحش کردم اما جواب نگرفتم ](*,)
خروجی چندتا دستور رو باید بذارید از غیب که نمیشه چیزی گفت!
یا لیست کارایی که قبلش کردید ...
-
خروجی چند تا دستور که بالا هست.
اینم مثلا خروجی یه دستور که فرض کن میخام یه بسته را نصب کنم:
-
خروجی قبلی اشتباه شد درستش اینه:
root@Debian:~# aptitude install gns3
The following NEW packages will be installed:
dynamips{a} gns3 libphonon4{a} libqt4-assistant{a} libqt4-help{a}
libqt4-scripttools{a} libqt4-svg{a} libqt4-test{a} libqt4-webkit{a}
libqt4-xmlpatterns{a} python-qt4{a} python-sip{a}
The following partially installed packages will be configured:
debconf man-db
0 packages upgraded, 12 newly installed, 0 to remove and 1 not upgraded.
Need to get 3,115 kB/18.1 MB of archives. After unpacking 62.3 MB will be used.
Do you want to continue? [Y/n/?] y
Get:1 ftp://ftp.debian.org/debian/ stable/non-free gns3 all 0.7.2-1 [3,115 kB]
Fetched 3,115 kB in 3min 55s (13.2 kB/s)
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 debconf (1.5.44) ...
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 debconf (--configure):
subprocess installed post-installation script returned error exit status 2
configured to not write apport reports
Errors were encountered while processing:
debconf
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Setting up debconf (1.5.44) ...
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 debconf (--configure):
subprocess installed post-installation script returned error exit status 2
dpkg: dependency problems prevent configuration of man-db:
man-db depends on debconf (>= 1.2.0) | debconf-2.0; however:
Package debconf is not configured yet.
Package debconf-2.0 is not installed.
Package debconf which provides debconf-2.0 is not configured yet.
dpkg: error processing man-db (--configure):
dependency problems - leaving unconfigured
dpkg: error processing python-crypto (--configure):
Package is in a very bad inconsistent state - you should
reinstall it before attempting configuration.
Errors were encountered while processing:
debconf
man-db
python-crypto
البته اینم بگم قبلا فقط man-db این پایین بود.
-
خروجی چند تا دستور که بالا هست.
اینم مثلا خروجی یه دستور که فرض کن میخام یه بسته را نصب کنم:
؟
-
خروجی چند تا دستور که بالا هست.
اینم مثلا خروجی یه دستور که فرض کن میخام یه بسته را نصب کنم:
؟
پست ۸ را نگاه کن
-
خروجی چند تا دستور که بالا هست.
اینم مثلا خروجی یه دستور که فرض کن میخام یه بسته را نصب کنم:
؟
پست ۸ را نگاه کن
دوست عزیز دستورات من اینا بود :
apt-get update
apt-get dist-upgrade
اگر کار نداد باز ببینید میشه پکیج رو پاک کرد یا نه :
apt-get purge man-db
و خروجی شما نصب یه پکیج با ابزار aptitude ، حالا این چه کمکی به من میکنه واقعا نمیدونم.
-
خروجی قبلی اشتباه شد درستش اینه:
root@Debian:~# aptitude install gns3
The following NEW packages will be installed:
dynamips{a} gns3 libphonon4{a} libqt4-assistant{a} libqt4-help{a}
libqt4-scripttools{a} libqt4-svg{a} libqt4-test{a} libqt4-webkit{a}
libqt4-xmlpatterns{a} python-qt4{a} python-sip{a}
The following partially installed packages will be configured:
debconf man-db
0 packages upgraded, 12 newly installed, 0 to remove and 1 not upgraded.
Need to get 3,115 kB/18.1 MB of archives. After unpacking 62.3 MB will be used.
Do you want to continue? [Y/n/?] y
Get:1 ftp://ftp.debian.org/debian/ stable/non-free gns3 all 0.7.2-1 [3,115 kB]
Fetched 3,115 kB in 3min 55s (13.2 kB/s)
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 debconf (1.5.44) ...
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 debconf (--configure):
subprocess installed post-installation script returned error exit status 2
configured to not write apport reports
Errors were encountered while processing:
debconf
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Setting up debconf (1.5.44) ...
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 debconf (--configure):
subprocess installed post-installation script returned error exit status 2
dpkg: dependency problems prevent configuration of man-db:
man-db depends on debconf (>= 1.2.0) | debconf-2.0; however:
Package debconf is not configured yet.
Package debconf-2.0 is not installed.
Package debconf which provides debconf-2.0 is not configured yet.
dpkg: error processing man-db (--configure):
dependency problems - leaving unconfigured
dpkg: error processing python-crypto (--configure):
Package is in a very bad inconsistent state - you should
reinstall it before attempting configuration.
Errors were encountered while processing:
debconf
man-db
python-crypto
البته اینم بگم قبلا فقط man-db این پایین بود.
از دایرکتوری
/var/cache/apt/archives
چند تا از آخرین فایل هایی که دانلود شده مثل python-crypto که در خطا آورده را حذف یا به home منتقل کن و دوباره آپدیت کن.