انجمنهای فارسی اوبونتو
کمک و پشتیبانی => انجمن عمومی => نویسنده: bed123derkelo در 10 فروردین 1399، 06:39 بظ
-
باسلا
موقع بروز رسانی اینترنت قطع شد.لب تاب خاموش کردم.بعد که امدم آپدیت کنم به مشکل خوردم.
کارهایی که انجام دادم:
apt reinstall dpkg
apt install -f
pt --fix-broken install
dpkg –configure -a
sudo dpkg –configure -a
بررسی فایل زیر:
nano /etc/sudoers
چندتا از پیغام های خطا تغییر کرد ولی مشکل همچنان پابرجاست:
sudo apt update && sudo apt upgrade
Do you want to continue? [Y/n] y
Reading changelogs... Done
debconf: Perl may be unconfigured (Can't locate Debconf/Encoding.pm in @INC (you may need to install the Debconf::Encoding module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.30.0 /usr/local/share/perl/5.30.0 /usr/lib/x86_64-linux-gnu/perl5/5.30 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.30 /usr/share/perl/5.30 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at /usr/share/perl5/Debconf/Template.pm line 17.
BEGIN failed--compilation aborted at /usr/share/perl5/Debconf/Template.pm line 17.
Compilation failed in require at /usr/share/perl5/Debconf/Question.pm line 8.
BEGIN failed--compilation aborted at /usr/share/perl5/Debconf/Question.pm line 8.
Compilation failed in require at /usr/share/perl5/Debconf/Config.pm line 7.
BEGIN failed--compilation aborted at /usr/share/perl5/Debconf/Config.pm line 7.
Compilation failed in require at /usr/share/perl5/Debconf/Log.pm line 10.
Compilation failed in require at (eval 1) line 4.
BEGIN failed--compilation aborted at (eval 1) line 4.
) -- aborting
dpkg: warning: 'ldconfig' not found in PATH or not executable
dpkg: error: 1 expected program not found in PATH or not executable
Note: root's PATH should usually contain /usr/local/sbin, /usr/sbin and /sbin
E: Sub-process /usr/bin/dpkg returned an error code (2)
-
اول باید ببینیم مشکل از sudo هست یا از چیز دیگه
su رو بزن بعد پسورد روت رو وارد کن بین از اونجا میتونی آپدیت کنی؟ (بدون سودو)
-
باسلام
بدون سودو:
:~$ su
Password:
apt update
Hit:1 http://deb.debian.org/debian buster InRelease
Hit:2 http://security.debian.org buster/updates InRelease
Hit:3 http://deb.debian.org/debian buster-updates InRelease
Reading package lists... Done
Building dependency tree
Reading state information... Done
5 packages can be upgraded. Run 'apt list --upgradable' to see them.
W: Target Sources (main/source/Sources) is configured multiple times in /etc/apt/sources.list:12 and /etc/apt/sources.list:23
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:11 and /etc/apt/sources.list:22
W: Target Packages (main/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:11 and /etc/apt/sources.list:22
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:11 and /etc/apt/sources.list:22
W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:11 and /etc/apt/sources.list:22
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:11 and /etc/apt/sources.list:22
W: Target Sources (main/source/Sources) is configured multiple times in /etc/apt/sources.list:12 and /etc/apt/sources.list:23
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:11 and /etc/apt/sources.list:22
W: Target Packages (main/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:11 and /etc/apt/sources.list:22
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:11 and /etc/apt/sources.list:22
W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:11 and /etc/apt/sources.list:22
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:11 and /etc/apt/sources.list:22
-
خروجی این دستور رو بذار
cat /etc/apt/sources.list
-
ظاهرا یک سری مشکلات از سودو بوده چون توی روت پیغامهای خطای sudo رو نداده
apt upgrade رو تو حالت روت مبزنی آپگرید نمیکنه؟
خروجی دستور زیر رو هم بذار
cat /etc/sudoers
-
باسلام
نه آپدیت نمیکنه.
# deb cdrom:[Debian GNU/Linux testing _Bullseye_ - Official Snapshot amd64 DVD Binary-1 20190916-04:11]/ bullseye contrib main
#deb cdrom:[Debian GNU/Linux testing _Bullseye_ - Official Snapshot amd64 DVD Binary-1 20190916-04:11]/ bullseye contrib main
# Line commented out by installer because it failed to verify:
#deb http://security.debian.org/debian-security bullseye/updates main contrib
# Line commented out by installer because it failed to verify:#deb-src http://security.debian.org/debian-security bullseye/updates main contrib
deb http://deb.debian.org/debian buster main
deb-src http://deb.debian.org/debian buster main
deb http://deb.debian.org/debian buster-updates main
deb-src http://deb.debian.org/debian buster-updates main
deb http://security.debian.org/ buster/updates main
deb-src http://security.debian.org/ buster/updates main
deb http://deb.debian.org/debian buster main contrib non-free
deb-src http://deb.debian.org/debian buster main contrib non-free
-
باسلام
نه آپدیت نمیکنه.
# deb cdrom:[Debian GNU/Linux testing _Bullseye_ - Official Snapshot amd64 DVD Binary-1 20190916-04:11]/ bullseye contrib main
#deb cdrom:[Debian GNU/Linux testing _Bullseye_ - Official Snapshot amd64 DVD Binary-1 20190916-04:11]/ bullseye contrib main
# Line commented out by installer because it failed to verify:
#deb http://security.debian.org/debian-security bullseye/updates main contrib
# Line commented out by installer because it failed to verify:#deb-src http://security.debian.org/debian-security bullseye/updates main contrib
deb http://deb.debian.org/debian buster main
deb-src http://deb.debian.org/debian buster main
deb http://deb.debian.org/debian buster-updates main
deb-src http://deb.debian.org/debian buster-updates main
deb http://security.debian.org/ buster/updates main
deb-src http://security.debian.org/ buster/updates main
deb http://deb.debian.org/debian buster main contrib non-free
deb-src http://deb.debian.org/debian buster main contrib non-free
خطوط زیر (۹ و ۱۰) تکراریه پاکشون کن
deb http://deb.debian.org/debian buster main
deb-src http://deb.debian.org/debian buster main
یعنی su رو بزن بعد با نانو فایل رو باز کن و خطوط بالا رو ازش پاک کن یا اول خطشون # بزار و تغییرات رو ذخیره کن
nano /etc/apt/sources.list
-
باسلام
مخازنی که گفتیدپاک کردم.
# This file MUST be edited with the 'visudo' command as root.
#
# Please consider adding local content in /etc/sudoers.d/ instead of
# directly modifying this file.
#
# See the man page for details on how to write a sudoers file.
#
Defaults env_reset
Defaults mail_badpass
Defaults secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
# Host alias specification
# User alias specification
# Cmnd alias specification
# User privilege specification
root ALL=(ALL:ALL) ALL
# Allow members of group sudo to execute any command
%sudo ALL=(ALL:ALL) ALL
# See sudoers(5) for more information on "#include" directives:
#includedir /etc/sudoers.d
ALL ALL=NOPASSWD:/sbin/shutdown
-
باسلام
مخازنی که گفتیدپاک کردم.
حالا تو حالت روت (su) دستورات apt update و apt upgrade رو بزن
# This file MUST be edited with the 'visudo' command as root.
#
# Please consider adding local content in /etc/sudoers.d/ instead of
# directly modifying this file.
#
# See the man page for details on how to write a sudoers file.
#
Defaults env_reset
Defaults mail_badpass
Defaults secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
# Host alias specification
# User alias specification
# Cmnd alias specification
# User privilege specification
root ALL=(ALL:ALL) ALL
# Allow members of group sudo to execute any command
%sudo ALL=(ALL:ALL) ALL
# See sudoers(5) for more information on "#include" directives:
#includedir /etc/sudoers.d
ALL ALL=NOPASSWD:/sbin/shutdown
تنظیماتش ظاهرا مشکلی نداره
-
باسلام
مشکل هنوز پابرجاست.
su
Password:
apt update
Hit:1 http://security.debian.org buster/updates InRelease
Hit:2 http://deb.debian.org/debian buster-updates InRelease
Hit:3 http://deb.debian.org/debian buster InRelease
Reading package lists... Done
Building dependency tree
Reading state information... Done
5 packages can be upgraded. Run 'apt list --upgradable' to see them.
root@# apt upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following package was automatically installed and is no longer required:
libevent-2.1-7
Use 'apt autoremove' to remove it.
The following NEW packages will be installed:
libevent-2.1-6 libreadline7 libvpx5
The following packages will be upgraded:
bluetooth bluez firefox-esr libbluetooth3 ppp
5 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/50.5 MB of archives.
After this operation, 790 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Reading changelogs... Done
debconf: Perl may be unconfigured (Can't locate Debconf/Encoding.pm in @INC (you may need to install the Debconf::Encoding module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.30.0 /usr/local/share/perl/5.30.0 /usr/lib/x86_64-linux-gnu/perl5/5.30 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.30 /usr/share/perl/5.30 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at /usr/share/perl5/Debconf/Template.pm line 17.
BEGIN failed--compilation aborted at /usr/share/perl5/Debconf/Template.pm line 17.
Compilation failed in require at /usr/share/perl5/Debconf/Question.pm line 8.
BEGIN failed--compilation aborted at /usr/share/perl5/Debconf/Question.pm line 8.
Compilation failed in require at /usr/share/perl5/Debconf/Config.pm line 7.
BEGIN failed--compilation aborted at /usr/share/perl5/Debconf/Config.pm line 7.
Compilation failed in require at /usr/share/perl5/Debconf/Log.pm line 10.
Compilation failed in require at (eval 1) line 4.
BEGIN failed--compilation aborted at (eval 1) line 4.
) -- aborting
dpkg: warning: 'ldconfig' not found in PATH or not executable
dpkg: error: 1 expected program not found in PATH or not executable
Note: root's PATH should usually contain /usr/local/sbin, /usr/sbin and /sbin
E: Sub-process /usr/bin/dpkg returned an error code (2)
-
باسلا
موقع بروز رسانی اینترنت قطع شد.لب تاب خاموش کردم.بعد که امدم آپدیت کنم به مشکل خوردم.
کارهایی که انجام دادم:
.
.
.
sudo dpkg –configure -a
.
.
.
این برای این دستور یک خط فاصله کم گذاشتی یعنی باید بنویسی
sudo dpkg --configure -a
-
باسلام
sudo dpkg --configure -a
dpkg: warning: 'ldconfig' not found in PATH or not executable
dpkg: error: 1 expected program not found in PATH or not executable
Note: root's PATH should usually contain /usr/local/sbin, /usr/sbin and /sbin
-
تو su دستور زیر رو بزن
export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
و بعد apt upgrade
-
باسلام
تغییری نکرد همون خطای بالایی رو میده.
nano /etc/sudoers
root@ apt upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following package was automatically installed and is no longer required:
libevent-2.1-7
Use 'apt autoremove' to remove it.
The following NEW packages will be installed:
libevent-2.1-6 libreadline7 libvpx5
The following packages will be upgraded:
bluetooth bluez firefox-esr libbluetooth3 ppp
5 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/50.5 MB of archives.
After this operation, 790 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Reading changelogs... Done
debconf: Perl may be unconfigured (Can't locate Debconf/Encoding.pm in @INC (you may need to install the Debconf::Encoding module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.30.0 /usr/local/share/perl/5.30.0 /usr/lib/x86_64-linux-gnu/perl5/5.30 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.30 /usr/share/perl/5.30 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at /usr/share/perl5/Debconf/Template.pm line 17.
BEGIN failed--compilation aborted at /usr/share/perl5/Debconf/Template.pm line 17.
Compilation failed in require at /usr/share/perl5/Debconf/Question.pm line 8.
BEGIN failed--compilation aborted at /usr/share/perl5/Debconf/Question.pm line 8.
Compilation failed in require at /usr/share/perl5/Debconf/Config.pm line 7.
BEGIN failed--compilation aborted at /usr/share/perl5/Debconf/Config.pm line 7.
Compilation failed in require at /usr/share/perl5/Debconf/Log.pm line 10.
Compilation failed in require at (eval 1) line 4.
BEGIN failed--compilation aborted at (eval 1) line 4.
) -- aborting
dpkg: warning: 'ldconfig' not found in PATH or not executable
dpkg: error: 1 expected program not found in PATH or not executable
Note: root's PATH should usually contain /usr/local/sbin, /usr/sbin and /sbin
E: Sub-process /usr/bin/dpkg returned an error code (2)
-
این دستور رو امتحان کن
chmod +x /usr/sbin/ldconfig
-
باسلام
chmod +x /usr/sbin/ldconfig
chmod: cannot access '/usr/sbin/ldconfig': No such file or directory
-
یعنی فایل ldconfig تو مسیر /usr/sbin/ وجود نداره؟
تو مسیر /sbin هم این فایل نیست؟
-
باسلام
تو مسیرهای زیر که نیست:
/usr/local/sbin/
/usr/sbin/
-
نمیدونم به مشکل مربوط میشه یا نه ولی تو دبیان ده باید از
su -
به جای su خالی استفاده کرد و گرنه نمیشه از /usr/bin و /bin استفاده کرد البته با اینکه انگار مشکله ولی تو خود سایت دبیان نوشته فیچر جدیده
و اینکه مشکلات سودو به خاطر گسترده بودنش هست و داشتن دانش کافی ازش تقریبا برای کاربر دسکتاپ غیر ممکنه و خیلی هاش غیرواجب و به نظرم راحت تره که آدم از چیزها ساده تری که هدفش کاربر دسکتاپ هستش و انقدر به اصطلاح bloated نیست استفاده کرد مثل doas البته من خودم هنوز دارم از سودو استفاده میکنم ولی فکر کنم به doas مهاجرت کنم
-
با apt میتونی پکیج نصب کنی؟ اگر آره دستور زیر رو بزن
sudo apt install libc-bin
اگر نشد و aptitude نصب داری با aptitude پکیج libc-bin رو نصب کن
sudo aptitude install libc-bin
اگر باز هم نشد پکیج libc-bin رو از لینک زیر دانلود کن و با dpkg نصبش کن
http://ftp.us.debian.org/debian/pool/main/g/glibc/libc-bin_2.30-4_amd64.deb
sudo dpkg -i libc-bin_2.30-4_amd64.deb
اگر باز هم نشد فایلی که از لینک بالا دانلود کردی رو اکسترکت کن و فایل ldconfig رو از داخل فایل های اکسترکت شده پیدا کن و تو پوشه /sbin کپی کن
اگر جواب نداد بقیه فایل های موجود در فولدر data رو در فولدر های مربوطه کپی کن
-
ابتدا دستور زیر را اجرا کنید تا ببینید آیا ldconfig نصب هست و در PATH قرار دارد؟
whereis ldconfig
خروجی؟
echo $PATH
-
باسلام
جواب نداد:
sudo apt install libc-bin
sudo aptitude install libc-bin
sudo dpkg -i libc-bin_2.30-4_amd64.deb
اما این کار جواب داد:
اگر باز هم نشد فایلی که از لینک بالا دانلود کردی رو اکسترکت کن و فایل ldconfig رو از داخل فایل های اکسترکت شده پیدا کن و تو پوشه /sbin کپی کن
اینم نتیجه آپدیت:
su
Password:
root@ sudo apt update && sudo apt upgrade
Hit:1 http://security.debian.org buster/updates InRelease
Hit:2 http://deb.debian.org/debian buster-updates InRelease
Hit:3 http://deb.debian.org/debian buster InRelease
Reading package lists... Done
Building dependency tree
Reading state information... Done
All packages are up to date.
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.
اما برا نصب برنامه خطا میده:
apt install clementine
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
gstreamer1.0-plugins-ugly liba52-0.7.4 libcrypto++6 libdvdread4 libftgl2
libglew2.1 libgpod-common libgpod4 liblastfm5-1 libmpeg2-4 libmtp-common
libmtp-runtime libmtp9 libmygpo-qt5-1 libopencore-amrnb0 libopencore-amrwb0
libprojectm2v5 libprotobuf17 libqt5concurrent5 libsgutils2-2 libsidplay1v5
projectm-data
Suggested packages:
libdvdcss2 glew-utils sg3-utils sidplay-base
The following NEW packages will be installed:
clementine gstreamer1.0-plugins-ugly liba52-0.7.4 libcrypto++6 libdvdread4
libftgl2 libglew2.1 libgpod-common libgpod4 liblastfm5-1 libmpeg2-4
libmtp-common libmtp-runtime libmtp9 libmygpo-qt5-1 libopencore-amrnb0
libopencore-amrwb0 libprojectm2v5 libprotobuf17 libqt5concurrent5
libsgutils2-2 libsidplay1v5 projectm-data
0 upgraded, 23 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/9,077 kB of archives.
After this operation, 35.1 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
debconf: Perl may be unconfigured (Can't locate Debconf/Encoding.pm in @INC (you may need to install the Debconf::Encoding module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.30.0 /usr/local/share/perl/5.30.0 /usr/lib/x86_64-linux-gnu/perl5/5.30 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.30 /usr/share/perl/5.30 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at /usr/share/perl5/Debconf/Template.pm line 17.
BEGIN failed--compilation aborted at /usr/share/perl5/Debconf/Template.pm line 17.
Compilation failed in require at /usr/share/perl5/Debconf/Question.pm line 8.
BEGIN failed--compilation aborted at /usr/share/perl5/Debconf/Question.pm line 8.
Compilation failed in require at /usr/share/perl5/Debconf/Config.pm line 7.
BEGIN failed--compilation aborted at /usr/share/perl5/Debconf/Config.pm line 7.
Compilation failed in require at /usr/share/perl5/Debconf/Log.pm line 10.
Compilation failed in require at (eval 1) line 4.
BEGIN failed--compilation aborted at (eval 1) line 4.
یه برنامه دیگه:
apt install pcsx2
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
pcsx2:i386 : Depends: libgtk2.0-0:i386 (>= 2.24.0) but it is not going to be installed
Depends: libwxgtk3.0-0v5:i386 (>= 3.0.4+dfsg) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
-
یه باز با su - روت بشو فک کنم مربوط باشه
-
دستور sudo dpkg --configure -a چی؟ دوباره زدیش؟
اگر درست نشد بقیه فایلهای پوشه data فایل deb که اکسترکت کردی رو در همون پوشه که هستند کپی کن ، مثلا اونهایی که در پوشه /usr/sbin هستند تو همون مسیر کپی کن
-
باسلام
یه باز با su - روت بشو فک کنم مربوط باشه
فرقی نکرد.
دستور sudo dpkg --configure -a چی؟ دوباره زدیش؟
اگر درست نشد بقیه فایلهای پوشه data فایل deb که اکسترکت کردی رو در همون پوشه که هستند کپی کن ، مثلا اونهایی که در پوشه /usr/sbin هستند تو همون مسیر کپی کن
بله امتحان کردم مشکلی نداره.
کپی کردم بازم جواب نداد.
-
یعنی دستور sudo dpkg --configure -a بدون ارور انجام میشه ولی هنوز مشکل پابرجاست؟
دیگه نمی دونم چیکار باید کنی :( ](*,)
اون فایل deb الان با dpkg نصب نمیشه؟
-
باسلام
بله دستور بدون ارور اجراع میشه.
۹۸ درصد فایلها deb که شما گذاشتید من کپی کردم تو سیستم من نبود!
فایل deb اولش نصب نمیشد بعد از اینکه فایلهای پوشه data به صورت دستی اضافه کردم نصب شد.
Selecting previously unselected package libc-bin.
(Reading database ... 94011 files and directories currently installed.)
Preparing to unpack libc-bin_2.30-4_amd64.deb ...
Unpacking libc-bin (2.30-4) ...
Setting up libc-bin (2.30-4) ...
Processing triggers for man-db (2.9.1-1) ...
نصب یه برنامه برای مثال:
apt install pcsx2
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
pcsx2:i386 : Depends: libgtk2.0-0:i386 (>= 2.24.0) but it is not going to be installed
Depends: libwxgtk3.0-0v5:i386 (>= 3.0.4+dfsg) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
apt install easytag
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
libid3-3.8.3v5 libopusfile0
Suggested packages:
easytag-nautilus libid3-tools
The following NEW packages will be installed:
easytag libid3-3.8.3v5 libopusfile0
0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 1,082 kB of archives.
After this operation, 5,019 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://deb.debian.org/debian buster/main amd64 libid3-3.8.3v5 amd64 3.8.3-16.2+b1 [155 kB]
Get:2 http://deb.debian.org/debian buster/main amd64 libopusfile0 amd64 0.9+20170913-1 [38.5 kB]
Get:3 http://deb.debian.org/debian buster/main amd64 easytag amd64 2.4.3-4 [889 kB]
Fetched 1,082 kB in 7s (163 kB/s)
debconf: Perl may be unconfigured (Can't locate Debconf/Encoding.pm in @INC (you may need to install the Debconf::Encoding module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.30.0 /usr/local/share/perl/5.30.0 /usr/lib/x86_64-linux-gnu/perl5/5.30 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.30 /usr/share/perl/5.30 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at /usr/share/perl5/Debconf/Template.pm line 17.
BEGIN failed--compilation aborted at /usr/share/perl5/Debconf/Template.pm line 17.
Compilation failed in require at /usr/share/perl5/Debconf/Question.pm line 8.
BEGIN failed--compilation aborted at /usr/share/perl5/Debconf/Question.pm line 8.
Compilation failed in require at /usr/share/perl5/Debconf/Config.pm line 7.
BEGIN failed--compilation aborted at /usr/share/perl5/Debconf/Config.pm line 7.
Compilation failed in require at /usr/share/perl5/Debconf/Log.pm line 10.
Compilation failed in require at (eval 1) line 4.
BEGIN failed--compilation aborted at (eval 1) line 4.
) -- aborting
-
حالا که با dpkg میتونی پکیج نصب کنی پکیج های زیر رو دانلود کن و نصب کن
http://ftp.us.debian.org/debian/pool/main/g/glibc/libc6_2.28-10_amd64.deb
http://ftp.us.debian.org/debian/pool/main/d/debconf/debconf_1.5.71_all.deb
http://ftp.us.debian.org/debian/pool/main/p/perl/perl-base_5.28.1-6_amd64.deb
شاید مشکل حل بشه
-
باسلام
کاری که گفتید رو انجام دادم:
sudo dpkg -i debconf_1.5.71_all.deb
dpkg: warning: downgrading debconf from 1.5.73 to 1.5.71
(Reading database ... 94580 files and directories currently installed.)
Preparing to unpack debconf_1.5.71_all.deb ...
Unpacking debconf (1.5.71) over (1.5.73) ...
Setting up debconf (1.5.71) ...
Processing triggers for man-db (2.9.1-1) ...
sudo dpkg -i libc6_2.28-10_amd64.deb
dpkg: warning: downgrading libc6:amd64 from 2.30-2 to 2.28-10
(Reading database ... 94580 files and directories currently installed.)
Preparing to unpack libc6_2.28-10_amd64.deb ...
De-configuring libc6:i386 (2.30-2) ...
Unpacking libc6:amd64 (2.28-10) over (2.30-2) ...
dpkg: error processing package libc6:amd64 (--install):
package libc6:amd64 2.28-10 cannot be configured because libc6:i386 is at a different version (2.30-2)
dpkg: error processing package libc6:i386 (--install):
package libc6:i386 2.30-2 cannot be configured because libc6:amd64 is at a different version (2.28-10)
Errors were encountered while processing:
libc6:amd64
libc6:i386
sudo dpkg -i perl-base_5.28.1-6_amd64.deb
dpkg: warning: downgrading perl-base from 5.30.0-9 to 5.28.1-6
(Reading database ... 94582 files and directories currently installed.)
Preparing to unpack perl-base_5.28.1-6_amd64.deb ...
Unpacking perl-base (5.28.1-6) over (5.30.0-9) ...
Replaced by files in installed package perl (5.30.0-9) ...
dpkg: dependency problems prevent configuration of perl-base:
perl-base depends on libc6 (>= 2.28); however:
Package libc6:amd64 is not configured yet.
dpkg: error processing package perl-base (--install):
dependency problems - leaving unconfigured
Errors were encountered while processing:
perl-base
sudo dpkg -i perl-base_5.28.1-6_amd64.deb
dpkg: warning: downgrading perl-base from 5.30.0-9 to 5.28.1-6
(Reading database ... 94582 files and directories currently installed.)
Preparing to unpack perl-base_5.28.1-6_amd64.deb ...
Unpacking perl-base (5.28.1-6) over (5.30.0-9) ...
Replaced by files in installed package perl (5.30.0-9) ...
dpkg: dependency problems prevent configuration of perl-base:
perl-base depends on libc6 (>= 2.28); however:
Package libc6:amd64 is not configured yet.
dpkg: error processing package perl-base (--install):
dependency problems - leaving unconfigured
Errors were encountered while processing:
perl-base
الان برنامه های(clementineو easytag) نصب شدن وبدون مشکل اجراع شدن :D
ولی موقع نصب ارور داشت:
debconf: Perl may be unconfigured (Can't locate Debconf/Encoding.pm in @INC (you may need to install the Debconf::Encoding module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.30.0 /usr/local/share/perl/5.30.0 /usr/lib/x86_64-linux-gnu/perl5/5.30 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.30 /usr/share/perl/5.30 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at /usr/share/perl5/Debconf/Template.pm line 17.
BEGIN failed--compilation aborted at /usr/share/perl5/Debconf/Template.pm line 17.
Compilation failed in require at /usr/share/perl5/Debconf/Question.pm line 8.
BEGIN failed--compilation aborted at /usr/share/perl5/Debconf/Question.pm line 8.
Compilation failed in require at /usr/share/perl5/Debconf/Config.pm line 7.
BEGIN failed--compilation aborted at /usr/share/perl5/Debconf/Config.pm line 7.
Compilation failed in require at /usr/share/perl5/Debconf/Log.pm line 10.
Compilation failed in require at (eval 1) line 4.
BEGIN failed--compilation aborted at (eval 1) line 4.
) -- aborting
اگه مشکلی پیش نیاد همینجوری هم راضی هستم ;D
ولی برنامه pcsx2 نصب نمیشه اگه راهی داره که حل بشه اگر نه بیخیال شم. ](*,)
-
این دستور رو امتحان کن
sudo apt install --reinstall perl perl-base libc-bin apt-utils debconf debconf-i18n dpkg libc6 libgcc1 libidn2-0 libunistring2 libbz2-1.0 liblzma5 libselinux1 libpcre3 zlib1g libacl1 libattr1 tar apt debian-archive-keyring libapt-pkg5.0
بعدش یه بار دیگه دستور sudo dpkg --configure -a و sudo apt install -f رو بزن
-
باسلام
ممنون از شما دوست عزیز(sun-pda) بخاطر کمک برای رفع مشکل من
بالاخره حل شد \\:D/
سپاس فراوان
-
خواهش میکنم