انجمنهای فارسی اوبونتو
کمک و پشتیبانی => نصب، راهاندازی و بروزآوری => نویسنده: mahdi1533 در 09 امرداد 1392، 06:42 بظ
-
سلام هر کاری می کنم نمی توتم نرم افزار نصب کنم ای اررو میده.حتی تلاش هم کردم نتونستم مشکل رو حل کنم
mazaher@mazaher-Inspiron-N5110:~$ sudo -i
[sudo] password for mazaher:
root@mazaher-Inspiron-N5110:~# ar x dpkg_1.15.8.4ubuntu3.1_i386.deb
ar: dpkg_1.15.8.4ubuntu3.1_i386.deb: No such file or directory
root@mazaher-Inspiron-N5110:~# sudo apt-get update && sudo apt-get upgrade
Hit http://ir.archive.ubuntu.com raring Release.gpg
Get:1 http://ir.archive.ubuntu.com raring-updates Release.gpg [933 B]
Get:2 http://linux.dropbox.com precise Release.gpg [489 B]
Get:3 http://ir.archive.ubuntu.com raring-backports Release.gpg [933 B]
Hit http://archive.canonical.com raring Release.gpg
Hit http://ir.archive.ubuntu.com raring Release
Hit http://archive.canonical.com raring Release
Hit http://archive.canonical.com raring/partner Sources
Get:4 http://security.ubuntu.com raring-security Release.gpg [933 B]
Hit http://extras.ubuntu.com raring Release.gpg
Get:5 http://ir.archive.ubuntu.com raring-updates Release [40.8 kB]
Get:6 http://security.ubuntu.com raring-security Release [40.8 kB]
Get:7 http://linux.dropbox.com precise Release [2,603 B]
Hit http://extras.ubuntu.com raring Release
Hit http://extras.ubuntu.com raring/main Sources
Get:8 http://linux.dropbox.com precise/main amd64 Packages [1,148 B]
Hit http://extras.ubuntu.com raring/main amd64 Packages
Get:9 http://ir.archive.ubuntu.com raring-backports Release [40.8 kB]
Get:10 http://security.ubuntu.com raring-security/main Sources [33.6 kB]
Ign http://extras.ubuntu.com raring/main Translation-en_US
Ign http://extras.ubuntu.com raring/main Translation-en
Get:11 http://security.ubuntu.com raring-security/restricted Sources [14 B]
Get:12 http://security.ubuntu.com raring-security/universe Sources [7,117 B]
Ign http://linux.dropbox.com precise/main Translation-en_US
Ign http://linux.dropbox.com precise/main Translation-en
Get:13 http://security.ubuntu.com raring-security/multiverse Sources [1,825 B]
Get:14 http://security.ubuntu.com raring-security/main amd64 Packages [89.1 kB]
Hit http://ir.archive.ubuntu.com raring/main Sources
Hit http://ir.archive.ubuntu.com raring/restricted Sources
Hit http://ir.archive.ubuntu.com raring/universe Sources
Hit http://ir.archive.ubuntu.com raring/multiverse Sources
Hit http://ir.archive.ubuntu.com raring/main amd64 Packages
Hit http://ir.archive.ubuntu.com raring/restricted amd64 Packages
Hit http://ir.archive.ubuntu.com raring/universe amd64 Packages
Hit http://ir.archive.ubuntu.com raring/multiverse amd64 Packages
Hit http://ir.archive.ubuntu.com raring/main Translation-en
Hit http://ir.archive.ubuntu.com raring/multiverse Translation-en
Hit http://ir.archive.ubuntu.com raring/restricted Translation-en
Hit http://ir.archive.ubuntu.com raring/universe Translation-en
Get:15 http://ir.archive.ubuntu.com raring-updates/main Sources [52.3 kB]
Get:16 http://ir.archive.ubuntu.com raring-updates/restricted Sources [14 B]
Get:17 http://ir.archive.ubuntu.com raring-updates/universe Sources [66.6 kB]
Get:18 http://security.ubuntu.com raring-security/restricted amd64 Packages [14 B]
Get:19 http://security.ubuntu.com raring-security/universe amd64 Packages [28.3 kB]
Get:20 http://security.ubuntu.com raring-security/multiverse amd64 Packages [3,426 B]
Hit http://security.ubuntu.com raring-security/main Translation-en
Hit http://security.ubuntu.com raring-security/multiverse Translation-en
Hit http://security.ubuntu.com raring-security/restricted Translation-en
Hit http://security.ubuntu.com raring-security/universe Translation-en
Get:21 http://ir.archive.ubuntu.com raring-updates/multiverse Sources [1,825 B]
Get:22 http://ir.archive.ubuntu.com raring-updates/main amd64 Packages [137 kB]
Ign http://security.ubuntu.com raring-security/main Translation-en_US
Ign http://security.ubuntu.com raring-security/multiverse Translation-en_US
Get:23 http://ir.archive.ubuntu.com raring-updates/restricted amd64 Packages [14 B]
Get:24 http://ir.archive.ubuntu.com raring-updates/universe amd64 Packages [127 kB]
Ign http://security.ubuntu.com raring-security/restricted Translation-en_US
Ign http://security.ubuntu.com raring-security/universe Translation-en_US
Get:25 http://ir.archive.ubuntu.com raring-updates/multiverse amd64 Packages [3,426 B]
Hit http://ir.archive.ubuntu.com raring-updates/main Translation-en
Hit http://ir.archive.ubuntu.com raring-updates/multiverse Translation-en
Hit http://ir.archive.ubuntu.com raring-updates/restricted Translation-en
Hit http://ir.archive.ubuntu.com raring-updates/universe Translation-en
Get:26 http://ir.archive.ubuntu.com raring-backports/main Sources [14 B]
Get:27 http://ir.archive.ubuntu.com raring-backports/restricted Sources [14 B]
Get:28 http://ir.archive.ubuntu.com raring-backports/universe Sources [4,720 B]
Get:29 http://ir.archive.ubuntu.com raring-backports/multiverse Sources [1,403 B]
Get:30 http://ir.archive.ubuntu.com raring-backports/main amd64 Packages [14 B]
Get:31 http://ir.archive.ubuntu.com raring-backports/restricted amd64 Packages [14 B]
Get:32 http://ir.archive.ubuntu.com raring-backports/universe amd64 Packages [6,018 B]
Get:33 http://ir.archive.ubuntu.com raring-backports/multiverse amd64 Packages [1,357 B]
Hit http://ir.archive.ubuntu.com raring-backports/main Translation-en
Hit http://ir.archive.ubuntu.com raring-backports/multiverse Translation-en
Hit http://ir.archive.ubuntu.com raring-backports/restricted Translation-en
Hit http://ir.archive.ubuntu.com raring-backports/universe Translation-en
Ign http://ir.archive.ubuntu.com raring/main Translation-en_US
Ign http://ir.archive.ubuntu.com raring/multiverse Translation-en_US
Ign http://ir.archive.ubuntu.com raring/restricted Translation-en_US
Ign http://ir.archive.ubuntu.com raring/universe Translation-en_US
Ign http://ir.archive.ubuntu.com raring-updates/main Translation-en_US
Ign http://ir.archive.ubuntu.com raring-updates/multiverse Translation-en_US
Ign http://ir.archive.ubuntu.com raring-updates/restricted Translation-en_US
Ign http://ir.archive.ubuntu.com raring-updates/universe Translation-en_US
Ign http://ir.archive.ubuntu.com raring-backports/main Translation-en_US
Ign http://ir.archive.ubuntu.com raring-backports/multiverse Translation-en_US
Ign http://ir.archive.ubuntu.com raring-backports/restricted Translation-en_US
Ign http://ir.archive.ubuntu.com raring-backports/universe Translation-en_US
Fetched 694 kB in 1min 53s (6,097 B/s)
E: Could not open lock file /var/lib/dpkg/lock - open (2: No such file or directory)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
root@mazaher-Inspiron-N5110:~# dpkg --configure -a
dpkg: error: unable to access dpkg status area: No such file or directory
root@mazaher-Inspiron-N5110:~# apt-get install -f
E: Could not open lock file /var/lib/dpkg/lock - open (2: No such file or directory)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
-
دوستان این جوابش هست.مشکل حل شد
sudo rm /var/lib/apt/lists/lock
sudo rm /var/cache/apt/archives/lock
البته SOFTWARE CENTER این اررور رو میده و نمیشه باهاش نرم افراز نصب کرد ولی با دستور apt-get installمشکلی دارم
There seems to be a programming error in aptdaemon, the software that allows you to install/remove software and to perform other package management related tasks.
این دستور هم کاری نمی کنه
dpkg --configure -a
-
الآن مشکلتون با پاک کردن فایل های lock حل شده یا نه؟
اگه حل شده (حل شد) را به اسم تاپیک بیفزایید.
اگه حل نشده الآن با apt-get چه خطایی می گیرید؟
-
کسی میدونه برای چی من نمی تونم نرم افزار نصب کنم .امروز بعداز گلی انتطار که نشستمvlc playerدانلود شد هنگام نصبش این اررو رو میده
Fetched 87.8 MB in 1h 3min 44s (22.9 kB/s)
E: Cannot get debconf version. Is debconf installed?
debconf: apt-extracttemplates failed: No such file or directory
Extracting templates from packages: 7%E: Cannot get debconf version. Is debconf installed?
debconf: apt-extracttemplates failed: No such file or directory
Extracting templates from packages: 14%E: Cannot get debconf version. Is debconf installed?
debconf: apt-extracttemplates failed: No such file or directory
Extracting templates from packages: 22%E: Cannot get debconf version. Is debconf installed?
debconf: apt-extracttemplates failed: No such file or directory
Extracting templates from packages: 29%E: Cannot get debconf version. Is debconf installed?
debconf: apt-extracttemplates failed: No such file or directory
Extracting templates from packages: 36%E: Cannot get debconf version. Is debconf installed?
debconf: apt-extracttemplates failed: No such file or directory
Extracting templates from packages: 44%E: Cannot get debconf version. Is debconf installed?
debconf: apt-extracttemplates failed: No such file or directory
Extracting templates from packages: 51%E: Cannot get debconf version. Is debconf installed?
debconf: apt-extracttemplates failed: No such file or directory
Extracting templates from packages: 59%E: Cannot get debconf version. Is debconf installed?
debconf: apt-extracttemplates failed: No such file or directory
Extracting templates from packages: 66%E: Cannot get debconf version. Is debconf installed?
debconf: apt-extracttemplates failed: No such file or directory
Extracting templates from packages: 73%E: Cannot get debconf version. Is debconf installed?
debconf: apt-extracttemplates failed: No such file or directory
Extracting templates from packages: 81%E: Cannot get debconf version. Is debconf installed?
debconf: apt-extracttemplates failed: No such file or directory
Extracting templates from packages: 88%E: Cannot get debconf version. Is debconf installed?
debconf: apt-extracttemplates failed: No such file or directory
Extracting templates from packages: 96%E: Cannot get debconf version. Is debconf installed?
debconf: apt-extracttemplates failed: No such file or directory
Extracting templates from packages: 100%
dpkg: error: cannot scan updates directory `/var/lib/dpkg/updates/': No such file or directory
E: Sub-process /usr/bin/dpkg returned an error code (2)
-
یکبار دستور آپدیت را بزنید بعد دوباره بزنید نصب بشه ببینید بازم خطا میدهد؟
sudoa apt-get update
-
اره بار ها دستور sudo apt-get updateرو زدم بازم اررور میده؟؟؟؟؟؟
-
ببینید می تونید مدیرپکیج aptitude را نصب کنید و سپس از طریق آن اقدام به نصب نرم افزار ها کنید؟
-
نه دوست عزیز سعی کردم این هم نصب کنم بازم هموت اررو رو داد
r# apt-get install aptitude
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
adduser apt apt-utils apt-xapian-index aptitude-common base-files
base-passwd busybox-initramfs busybox-static console-setup coreutils cpio
cryptsetup cryptsetup-bin dbus debconf debconf-i18n debianutils dmsetup dpkg
e2fslibs e2fsprogs ecryptfs-utils file findutils gcc-4.7-base gettext-base
gnupg gpgv ifupdown initramfs-tools initramfs-tools-bin initscripts insserv
iproute iso-codes kbd keyboard-configuration keyutils klibc-utils kmod
libacl1 libapt-inst1.5 libapt-pkg4.12 libasprintf0c2 libatm1 libattr1
libaudit-common libaudit1 libblkid1 libboost-iostreams1.49.0 libbz2-1.0
libc6 libclass-accessor-perl libclass-isa-perl libcomerr2 libcryptsetup4
libcwidget3 libdb5.1 libdbus-1-3 libdevmapper1.02.1 libdrm2 libecryptfs0
libept1.4.12 libexpat1 libffi6 libgcc1 libgcrypt11 libgdbm3 libglib2.0-0
libglib2.0-data libgpg-error0 libgpm2 libio-string-perl libjson0
libkeyutils1 libklibc libkmod2 liblocale-gettext-perl liblzma5 libmagic1
libmount1 libncurses5 libncursesw5 libnih-dbus1 libnih1 libnspr4 libnss3
libnss3-1d libpam-modules libpam-modules-bin libpam-runtime libpam0g
libparse-debianchangelog-perl libpcre3 libplymouth2 libpng12-0 libpopt0
libprocps0 libpython-stdlib libpython2.7-minimal libpython2.7-stdlib
libpython3-stdlib libpython3.3-minimal libpython3.3-stdlib libreadline6
libselinux1 libsemanage-common libsemanage1 libsepol1 libsigc++-2.0-0c2a
libslang2 libsqlite3-0 libss2 libssl1.0.0 libstdc++6 libsub-name-perl
libswitch-perl libtext-charwidth-perl libtext-iconv-perl
libtext-wrapi18n-perl libtimedate-perl libtinfo5 libudev1 libusb-0.1-4
libustr-1.0-1 libuuid1 libxapian22 libxml2 lsb-base lsb-release lsof makedev
mime-support module-init-tools mount mountall multiarch-support ncurses-bin
netbase original-awk passwd perl perl-base perl-modules plymouth
plymouth-theme-ubuntu-text procps psmisc python python-apt python-apt-common
python-chardet python-debian python-minimal python-six python-xapian
python2.7 python2.7-minimal python3 python3-minimal python3.3
python3.3-minimal readline-common rsync sed sensible-utils sgml-base
shared-mime-info sysv-rc sysvinit-utils tar tzdata ubuntu-keyring udev
upstart util-linux uuid-runtime xkb-data xml-core xz-utils zlib1g
Suggested packages:
dpkg-dev apt-doc app-install-data python-xdg aptitude-doc-en aptitude-doc
tasksel debtags locales libarchive1 dosfstools dbus-x11 debconf-doc
debconf-utils whiptail dialog gnome-utils libterm-readline-gnu-perl
libgtk2-perl libnet-ldap-perl libqtgui4-perl libqtcore4-perl gpart parted
e2fsck-static opencryptoki zescrow-client mlocate locate gnupg-curl
gnupg-doc xloadimage imagemagick eog libpcsclite1 isc-dhcp-client
dhcp-client ppp rdnssd net-tools bash-completion bootchart2 iproute-doc
isoquery glibc-doc libcwidget-dev rng-tools gpm libpam-doc
libhtml-parser-perl libhtml-template-perl libxml-simple-perl xapian-tools
lsb nfs-common perl-doc make libpod-plainer-perl python-doc python-tk
python-apt-dbg python-gtk2 python-vte python-apt-doc xapian-doc
python2.7-doc binutils binfmt-support python3-doc python3-tk python3.3-doc
openssh-client openssh-server sgml-base-doc sysv-rc-conf bum sash bzip2
ncompress watershed graphviz upstart-monitor util-linux-locales debhelper
The following NEW packages will be installed:
adduser apt apt-utils apt-xapian-index aptitude aptitude-common base-files
base-passwd busybox-initramfs busybox-static console-setup coreutils cpio
cryptsetup cryptsetup-bin dbus debconf debconf-i18n debianutils dmsetup dpkg
e2fslibs e2fsprogs ecryptfs-utils file findutils gcc-4.7-base gettext-base
gnupg gpgv ifupdown initramfs-tools initramfs-tools-bin initscripts insserv
iproute iso-codes kbd keyboard-configuration keyutils klibc-utils kmod
libacl1 libapt-inst1.5 libapt-pkg4.12 libasprintf0c2 libatm1 libattr1
libaudit-common libaudit1 libblkid1 libboost-iostreams1.49.0 libbz2-1.0
libc6 libclass-accessor-perl libclass-isa-perl libcomerr2 libcryptsetup4
libcwidget3 libdb5.1 libdbus-1-3 libdevmapper1.02.1 libdrm2 libecryptfs0
libept1.4.12 libexpat1 libffi6 libgcc1 libgcrypt11 libgdbm3 libglib2.0-0
libglib2.0-data libgpg-error0 libgpm2 libio-string-perl libjson0
libkeyutils1 libklibc libkmod2 liblocale-gettext-perl liblzma5 libmagic1
libmount1 libncurses5 libncursesw5 libnih-dbus1 libnih1 libnspr4 libnss3
libnss3-1d libpam-modules libpam-modules-bin libpam-runtime libpam0g
libparse-debianchangelog-perl libpcre3 libplymouth2 libpng12-0 libpopt0
libprocps0 libpython-stdlib libpython2.7-minimal libpython2.7-stdlib
libpython3-stdlib libpython3.3-minimal libpython3.3-stdlib libreadline6
libselinux1 libsemanage-common libsemanage1 libsepol1 libsigc++-2.0-0c2a
libslang2 libsqlite3-0 libss2 libssl1.0.0 libstdc++6 libsub-name-perl
libswitch-perl libtext-charwidth-perl libtext-iconv-perl
libtext-wrapi18n-perl libtimedate-perl libtinfo5 libudev1 libusb-0.1-4
libustr-1.0-1 libuuid1 libxapian22 libxml2 lsb-base lsb-release lsof makedev
mime-support module-init-tools mount mountall multiarch-support ncurses-bin
netbase original-awk passwd perl perl-base perl-modules plymouth
plymouth-theme-ubuntu-text procps psmisc python python-apt python-apt-common
python-chardet python-debian python-minimal python-six python-xapian
python2.7 python2.7-minimal python3 python3-minimal python3.3
python3.3-minimal readline-common rsync sed sensible-utils sgml-base
shared-mime-info sysv-rc sysvinit-utils tar tzdata ubuntu-keyring udev
upstart util-linux uuid-runtime xkb-data xml-core xz-utils zlib1g
0 upgraded, 183 newly installed, 0 to remove and 0 not upgraded.
Need to get 18.6 MB/60.6 MB of archives.
After this operation, 210 MB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://ir.archive.ubuntu.com/ubuntu/ raring/main ubuntu-keyring all 2012.05.19 [16.7 kB]
Get:2 http://ir.archive.ubuntu.com/ubuntu/ raring/main readline-common all 6.2-9ubuntu1 [50.3 kB]
Get:3 http://ir.archive.ubuntu.com/ubuntu/ raring/main libreadline6 amd64 6.2-9ubuntu1 [140 kB]
Get:4 http://ir.archive.ubuntu.com/ubuntu/ raring-updates/main gpgv amd64 1.4.12-7ubuntu1.1 [186 kB]
Get:5 http://ir.archive.ubuntu.com/ubuntu/ raring-updates/main gnupg amd64 1.4.12-7ubuntu1.1 [816 kB]
Get:6 http://ir.archive.ubuntu.com/ubuntu/ raring/main apt amd64 0.9.7.7ubuntu4 [1,184 kB]
Get:7 http://ir.archive.ubuntu.com/ubuntu/ raring/main libmagic1 amd64 5.11-2ubuntu4 [170 kB]
Get:8 http://ir.archive.ubuntu.com/ubuntu/ raring/main libpython3.3-minimal amd64 3.3.1-1ubuntu5 [578 kB]
Get:9 http://ir.archive.ubuntu.com/ubuntu/ raring/main mime-support all 3.52-2ubuntu1 [30.5 kB]
Get:10 http://ir.archive.ubuntu.com/ubuntu/ raring/main libpython3.3-stdlib amd64 3.3.1-1ubuntu5 [2,677 kB]
Get:11 http://ir.archive.ubuntu.com/ubuntu/ raring/main libsigc++-2.0-0c2a amd64 2.2.10-0.2 [10.9 kB]
Get:12 http://ir.archive.ubuntu.com/ubuntu/ raring/main file amd64 5.11-2ubuntu4 [18.4 kB]
Get:13 http://ir.archive.ubuntu.com/ubuntu/ raring/main libpython3-stdlib amd64 3.3.1-0ubuntu1 [8,232 B]
Get:14 http://ir.archive.ubuntu.com/ubuntu/ raring/main python3.3-minimal amd64 3.3.1-1ubuntu5 [1,477 kB]
Get:15 http://ir.archive.ubuntu.com/ubuntu/ raring/main python3.3 amd64 3.3.1-1ubuntu5 [119 kB]
Get:16 http://ir.archive.ubuntu.com/ubuntu/ raring/main python3-minimal amd64 3.3.1-0ubuntu1 [12.3 kB]
Get:17 http://ir.archive.ubuntu.com/ubuntu/ raring/main python3 amd64 3.3.1-0ubuntu1 [50.3 kB]
Get:18 http://ir.archive.ubuntu.com/ubuntu/ raring/main lsb-release all 4.0-0ubuntu27 [10.7 kB]
Get:19 http://ir.archive.ubuntu.com/ubuntu/ raring/main iso-codes all 3.41-1 [2,021 kB]
Get:20 http://ir.archive.ubuntu.com/ubuntu/ raring/main libpython2.7-minimal amd64 2.7.4-2ubuntu3 [502 kB]
Get:21 http://ir.archive.ubuntu.com/ubuntu/ raring/main python2.7-minimal amd64 2.7.4-2ubuntu3 [1,223 kB]
Get:22 http://ir.archive.ubuntu.com/ubuntu/ raring/main libpython2.7-stdlib amd64 2.7.4-2ubuntu3 [2,381 kB]
Get:23 http://ir.archive.ubuntu.com/ubuntu/ raring/main python2.7 amd64 2.7.4-2ubuntu3 [263 kB]
Get:24 http://ir.archive.ubuntu.com/ubuntu/ raring/main python-minimal amd64 2.7.4-0ubuntu1 [30.8 kB]
Get:25 http://ir.archive.ubuntu.com/ubuntu/ raring/main libpython-stdlib amd64 2.7.4-0ubuntu1 [7,542 B]
Get:26 http://ir.archive.ubuntu.com/ubuntu/ raring/main python amd64 2.7.4-0ubuntu1 [169 kB]
Get:27 http://ir.archive.ubuntu.com/ubuntu/ raring/main python-apt-common all 0.8.8ubuntu6 [22.6 kB]
Get:28 http://ir.archive.ubuntu.com/ubuntu/ raring/main libxapian22 amd64 1.2.12-2 [810 kB]
Get:29 http://ir.archive.ubuntu.com/ubuntu/ raring/main python-xapian amd64 1.2.12-2 [290 kB]
Get:30 http://ir.archive.ubuntu.com/ubuntu/ raring/main python-apt amd64 0.8.8ubuntu6 [189 kB]
Get:31 http://ir.archive.ubuntu.com/ubuntu/ raring/main python-six all 1.2.0-1 [6,294 B]
Get:32 http://ir.archive.ubuntu.com/ubuntu/ raring/main python-chardet all 2.0.1-2build1 [176 kB]
Get:33 http://ir.archive.ubuntu.com/ubuntu/ raring/main python-debian all 0.1.21+nmu2ubuntu1 [57.6 kB]
Get:34 http://ir.archive.ubuntu.com/ubuntu/ raring/main apt-xapian-index all 0.45ubuntu2 [65.6 kB]
Get:35 http://ir.archive.ubuntu.com/ubuntu/ raring/main aptitude-common all 0.6.8.1-2ubuntu2 [669 kB]
Get:36 http://ir.archive.ubuntu.com/ubuntu/ raring/main libboost-iostreams1.49.0 amd64 1.49.0-3.2ubuntu1 [38.5 kB]
Get:37 http://ir.archive.ubuntu.com/ubuntu/ raring/main libcwidget3 amd64 0.5.16-3.4ubuntu1 [387 kB]
Get:38 http://ir.archive.ubuntu.com/ubuntu/ raring/main libept1.4.12 amd64 1.0.9 [135 kB]
Get:39 http://ir.archive.ubuntu.com/ubuntu/ raring/main aptitude amd64 0.6.8.1-2ubuntu2 [1,402 kB]
Get:40 http://ir.archive.ubuntu.com/ubuntu/ raring/main libsub-name-perl amd64 0.05-1build3 [9,768 B]
Get:41 http://ir.archive.ubuntu.com/ubuntu/ raring/main libclass-accessor-perl all 0.34-1 [26.0 kB]
Get:42 http://ir.archive.ubuntu.com/ubuntu/ raring/main libio-string-perl all 1.08-2 [12.0 kB]
Get:43 http://ir.archive.ubuntu.com/ubuntu/ raring/main libtimedate-perl all 1.2000-1 [41.6 kB]
Get:44 http://ir.archive.ubuntu.com/ubuntu/ raring/main libparse-debianchangelog-perl all 1.2.0-1ubuntu1 [54.0 kB]
Get:45 http://ir.archive.ubuntu.com/ubuntu/ raring/main xz-utils amd64 5.1.1alpha+20120614-2ubuntu1 [87.3 kB]
Fetched 18.6 MB in 32min 37s (9,519 B/s)
E: Cannot get debconf version. Is debconf installed?
debconf: apt-extracttemplates failed: No such file or directory
Extracting templates from packages: 16%E: Cannot get debconf version. Is debconf installed?
debconf: apt-extracttemplates failed: No such file or directory
Extracting templates from packages: 32%E: Cannot get debconf version. Is debconf installed?
debconf: apt-extracttemplates failed: No such file or directory
Extracting templates from packages: 48%E: Cannot get debconf version. Is debconf installed?
debconf: apt-extracttemplates failed: No such file or directory
Extracting templates from packages: 65%E: Cannot get debconf version. Is debconf installed?
debconf: apt-extracttemplates failed: No such file or directory
Extracting templates from packages: 81%E: Cannot get debconf version. Is debconf installed?
debconf: apt-extracttemplates failed: No such file or directory
Extracting templates from packages: 97%E: Cannot get debconf version. Is debconf installed?
debconf: apt-extracttemplates failed: No such file or directory
Extracting templates from packages: 100%
dpkg: error: unable to create new file '/var/lib/dpkg/info/format-new': No such file or directory
E: Sub-process /usr/bin/dpkg returned an error code (2)
root@mazaher-Inspiron-N5110:/home/mazaher#
با برنامه software centerهم این اررور رو میده
Package operation failed
The installation or removal of a software package failed.
nstallArchives() failed: E: Cannot get debconf version. Is debconf installed?
debconf: apt-extracttemplates failed: Illegal seek
Extracting templates from packages: 61%E: Cannot get debconf version. Is debconf installed?
debconf: apt-extracttemplates failed: Illegal seek
Extracting templates from packages: 100%
E: Cannot get debconf version. Is debconf installed?
debconf: apt-extracttemplates failed: Illegal seek
Extracting templates from packages: 61%E: Cannot get debconf version. Is debconf installed?
debconf: apt-extracttemplates failed: Illegal seek
Extracting templates from packages: 100%
E: Cannot get debconf version. Is debconf installed?
debconf: apt-extracttemplates failed: Illegal seek
Extracting templates from packages: 61%E: Cannot get debconf version. Is debconf installed?
debconf: apt-extracttemplates failed: Illegal seek
Extracting templates from packages: 100%
E: Cannot get debconf version. Is debconf installed?
debconf: apt-extracttemplates failed: Illegal seek
Extracting templates from packages: 61%E: Cannot get debconf version. Is debconf installed?
debconf: apt-extracttemplates failed: Illegal seek
Extracting templates from packages: 100%
dpkg: error: unable to create new file '/var/lib/dpkg/info/format-new': No such file or directory
-
تا حالا کسی مشکل منو نداشته؟؟؟؟؟؟
](*,) ](*,) ](*,) ](*,) ](*,) ](*,) ](*,)
-
پرسیده debconf نصب هست؟پس یعنی نصب نیست بزنید نصب بشه
-
دوست عزیز بازم این اررور رو میده
sudo apt install debconf
[sudo] password for mazaher:
sudo: apt: command not found
mazaher@mazaher-Inspiron-N5110:~$ sudo apt-get install debconf
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
apt-utils debconf-i18n dpkg gcc-4.7-base libapt-inst1.5 libapt-pkg4.12
libbz2-1.0 libc6 libdb5.1 libgcc1 liblocale-gettext-perl liblzma5
libselinux1 libstdc++6 libtext-charwidth-perl libtext-iconv-perl
libtext-wrapi18n-perl multiarch-support perl-base tar zlib1g
Suggested packages:
xz-utils debconf-doc debconf-utils whiptail dialog gnome-utils
libterm-readline-gnu-perl libgtk2-perl libnet-ldap-perl libqtgui4-perl
libqtcore4-perl apt glibc-doc locales bzip2 ncompress
The following NEW packages will be installed:
apt-utils debconf debconf-i18n dpkg gcc-4.7-base libapt-inst1.5
libapt-pkg4.12 libbz2-1.0 libc6 libdb5.1 libgcc1 liblocale-gettext-perl
liblzma5 libselinux1 libstdc++6 libtext-charwidth-perl libtext-iconv-perl
libtext-wrapi18n-perl multiarch-support perl-base tar zlib1g
0 upgraded, 22 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/11.3 MB of archives.
After this operation, 33.3 MB of additional disk space will be used.
Do you want to continue [Y/n]? y
E: Cannot get debconf version. Is debconf installed?
debconf: apt-extracttemplates failed: No such file or directory
dpkg: error: unable to create new file '/var/lib/dpkg/info/format-new': No such file or directory
E: Sub-process /usr/bin/dpkg returned an error code (2)
mazaher@mazaher-Inspiron-N5110:~$
-
این اررور رو میده
dpkg: error: unable to create new file '/var/lib/dpkg/info/format-new': No such file or directory
-
sudo killall dpkg
این را بزن تا همه چیز را بکشه
-
سلام دوست عزیز.ممنون که جواب منو میدی.این دست.ر رو وارد کردم این جواب رو میده؟؟
sudo killall dpkg
[sudo] password for mazaher:
dpkg: no process found
چکار کنم؟؟ ](*,)
-
سلام دوستان با این دستور مشکلم حل شد
sudo rmdir /var/lib/dpkg/info/format-new