این که خودش جواب گفته!
sudo apt-get -f install
اسم هیج پکیجی را نباید بنویسی
su
apt-get clean all
apt-get update
apt-get install acetoneiso
سلام
دستورات زیر رو اجرا کنینکد: [انتخاب]su
apt-get clean all
apt-get update
apt-get install acetoneiso
apt-get -f install
apt-get clean all
هم امتحان کنید
و دستورکد: [انتخاب]apt-get -f install
هم امتحان کنید
apt-get clean all
hamed@hamed-OEM ~ $ su
Password:
hamed-OEM hamed # apt-get -f instal
E: Invalid operation instal
hamed-OEM hamed #
hamed-OEM hamed # apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following package was automatically installed and is no longer required:
gir1.2-timezonemap-1.0
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
gdm
Suggested packages:
uswsusp gnome-mag gnome-orca gok
The following NEW packages will be installed:
gdm
0 upgraded, 1 newly installed, 0 to remove and 439 not upgraded.
2 not fully installed or removed.
Need to get 1,731 kB of archives.
After this operation, 6,968 kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://archive.ubuntu.com/ubuntu/ precise/universe gdm i386 3.0.4-0ubuntu15 [1,731 kB]
Fetched 1,731 kB in 20s (85.8 kB/s)
Preconfiguring packages ...
(Reading database ... 187056 files and directories currently installed.)
Unpacking gdm (from .../gdm_3.0.4-0ubuntu15_i386.deb) ...
dpkg: error processing /var/cache/apt/archives/gdm_3.0.4-0ubuntu15_i386.deb (--unpack):
trying to overwrite '/usr/share/pixmaps/nobody.png', which is also in package mdm 1.0.4
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
No apport report written because MaxReports is reached already
Processing triggers for hicolor-icon-theme ...
Errors were encountered while processing:
/var/cache/apt/archives/gdm_3.0.4-0ubuntu15_i386.deb
W: Duplicate sources.list entry http://ppa.launchpad.net/rabbitvcs/ppa/ubuntu/ precise/main i386 Packages (/var/lib/apt/lists/ppa.launchpad.net_rabbitvcs_ppa_ubuntu_dists_precise_main_binary-i386_Packages)
W: You may want to run apt-get update to correct these problems
E: Sub-process /usr/bin/dpkg returned an error code (1)
hamed-OEM hamed # apt-get clean all
hamed-OEM hamed # apt-get clean update
hamed-OEM hamed # apt-get update
Ign http://packages.linuxmint.com maya InRelease
Get:1 http://www.remastersys.com precise InRelease [2,069 B]
Ign http://dl.google.com stable InRelease
Ign http://www.remastersys.com precise InRelease
Ign http://archive.canonical.com precise InRelease
Ign http://ppa.launchpad.net precise InRelease
Ign http://ppa.launchpad.net precise InRelease
Ign http://ppa.launchpad.net precise InRelease
Ign http://archive.ubuntu.com precise InRelease
Ign http://archive.ubuntu.com precise-updates InRelease
Get:2 http://packages.linuxmint.com maya Release.gpg [197 B]
Ign http://security.ubuntu.com precise-security InRelease
Hit http://packages.medibuntu.org precise InRelease
Hit http://dl.google.com stable Release.gpg
Ign http://www.remastersys.com precise/main i386 Packages/DiffIndex
Get:3 http://packages.linuxmint.com maya Release [17.7 kB]
Hit http://archive.canonical.com precise Release.gpg
Hit http://ppa.launchpad.net precise Release.gpg
Hit http://ppa.launchpad.net precise Release.gpg
Hit http://archive.ubuntu.com precise Release.gpg
Hit http://security.ubuntu.com precise-security Release.gpg
Get:4 http://dl.google.com stable Release [1,347 B]
Ign http://www.remastersys.com precise/main TranslationIndex
Hit http://archive.canonical.com precise Release
Hit http://ppa.launchpad.net precise Release.gpg
Hit http://archive.ubuntu.com precise-updates Release.gpg
Hit http://security.ubuntu.com precise-security Release
Hit http://packages.medibuntu.org precise/free i386 Packages
Hit http://dl.google.com stable/main i386 Packages
Hit http://archive.canonical.com precise/partner i386 Packages
Hit http://ppa.launchpad.net precise Release
Hit http://archive.ubuntu.com precise Release
Get:5 http://packages.linuxmint.com maya/main i386 Packages [18.0 kB]
Hit http://security.ubuntu.com precise-security/main i386 Packages
Ign http://dl.google.com stable/main TranslationIndex
Ign http://archive.canonical.com precise/partner TranslationIndex
Hit http://ppa.launchpad.net precise Release
Hit http://archive.ubuntu.com precise-updates Release
Hit http://security.ubuntu.com precise-security/restricted i386 Packages
Hit http://security.ubuntu.com precise-security/universe i386 Packages
Hit http://security.ubuntu.com precise-security/multiverse i386 Packages
Hit http://security.ubuntu.com precise-security/main TranslationIndex
Hit http://security.ubuntu.com precise-security/multiverse TranslationIndex
Hit http://packages.medibuntu.org precise/non-free i386 Packages
Get:6 http://packages.linuxmint.com maya/upstream i386 Packages [10.6 kB]
Get:7 http://packages.linuxmint.com maya/import i386 Packages [41.4 kB]
Hit http://ppa.launchpad.net precise Release
Hit http://archive.ubuntu.com precise/main i386 Packages
Hit http://archive.ubuntu.com precise/restricted i386 Packages
Hit http://archive.ubuntu.com precise/universe i386 Packages
Hit http://archive.ubuntu.com precise/multiverse i386 Packages
Hit http://archive.ubuntu.com precise/main TranslationIndex
Hit http://archive.ubuntu.com precise/multiverse TranslationIndex
Hit http://archive.ubuntu.com precise/restricted TranslationIndex
Hit http://archive.ubuntu.com precise/universe TranslationIndex
Hit http://security.ubuntu.com precise-security/restricted TranslationIndex
Hit http://security.ubuntu.com precise-security/universe TranslationIndex
Hit http://security.ubuntu.com precise-security/main Translation-en
Hit http://ppa.launchpad.net precise/main Sources
Hit http://ppa.launchpad.net precise/main i386 Packages
Ign http://ppa.launchpad.net precise/main TranslationIndex
Hit http://archive.ubuntu.com precise-updates/main i386 Packages
Hit http://archive.ubuntu.com precise-updates/restricted i386 Packages
Hit http://archive.ubuntu.com precise-updates/universe i386 Packages
Hit http://archive.ubuntu.com precise-updates/multiverse i386 Packages
Hit http://archive.ubuntu.com precise-updates/main TranslationIndex
Hit http://archive.ubuntu.com precise-updates/multiverse TranslationIndex
Hit http://archive.ubuntu.com precise-updates/restricted TranslationIndex
Hit http://archive.ubuntu.com precise-updates/universe TranslationIndex
Hit http://archive.ubuntu.com precise/main Translation-en
Hit http://security.ubuntu.com precise-security/multiverse Translation-en
Hit http://security.ubuntu.com precise-security/restricted Translation-en
Ign http://packages.linuxmint.com maya/import TranslationIndex
Ign http://packages.linuxmint.com maya/main TranslationIndex
Ign http://packages.linuxmint.com maya/upstream TranslationIndex
Ign http://packages.medibuntu.org precise/free TranslationIndex
Hit http://ppa.launchpad.net precise/main Sources
Hit http://ppa.launchpad.net precise/main i386 Packages
Ign http://ppa.launchpad.net precise/main TranslationIndex
Hit http://archive.ubuntu.com precise/multiverse Translation-en
Hit http://archive.ubuntu.com precise/restricted Translation-en
Hit http://archive.ubuntu.com precise/universe Translation-en
Hit http://archive.ubuntu.com precise-updates/main Translation-en
Hit http://archive.ubuntu.com precise-updates/multiverse Translation-en
Hit http://archive.ubuntu.com precise-updates/restricted Translation-en
Hit http://security.ubuntu.com precise-security/universe Translation-en
Hit http://ppa.launchpad.net precise/main Sources
Hit http://ppa.launchpad.net precise/main i386 Packages
Ign http://ppa.launchpad.net precise/main TranslationIndex
Hit http://archive.ubuntu.com precise-updates/universe Translation-en
Ign http://packages.medibuntu.org precise/non-free TranslationIndex
Hit http://www.remastersys.com precise/main i386 Packages
Ign http://dl.google.com stable/main Translation-en_US
Ign http://www.remastersys.com precise/main Translation-en_US
Ign http://dl.google.com stable/main Translation-en
Ign http://archive.canonical.com precise/partner Translation-en_US
Ign http://www.remastersys.com precise/main Translation-en
Ign http://archive.canonical.com precise/partner Translation-en
Ign http://packages.linuxmint.com maya/import Translation-en_US
Ign http://packages.linuxmint.com maya/import Translation-en
Ign http://packages.linuxmint.com maya/main Translation-en_US
Ign http://packages.linuxmint.com maya/main Translation-en
Ign http://packages.linuxmint.com maya/upstream Translation-en_US
Ign http://packages.linuxmint.com maya/upstream Translation-en
Ign http://ppa.launchpad.net precise/main Translation-en_US
Ign http://ppa.launchpad.net precise/main Translation-en
Ign http://ppa.launchpad.net precise/main Translation-en_US
Ign http://ppa.launchpad.net precise/main Translation-en
Ign http://ppa.launchpad.net precise/main Translation-en_US
Ign http://ppa.launchpad.net precise/main Translation-en
Ign http://packages.medibuntu.org precise/free Translation-en_US
Ign http://packages.medibuntu.org precise/free Translation-en
Ign http://packages.medibuntu.org precise/non-free Translation-en_US
Ign http://packages.medibuntu.org precise/non-free Translation-en
Fetched 91.2 kB in 23s (3,885 B/s)
Reading package lists... Done
W: GPG error: http://www.remastersys.com precise InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY B6068D255563B350
W: Duplicate sources.list entry http://ppa.launchpad.net/rabbitvcs/ppa/ubuntu/ precise/main i386 Packages (/var/lib/apt/lists/ppa.launchpad.net_rabbitvcs_ppa_ubuntu_dists_precise_main_binary-i386_Packages)
hamed-OEM hamed # apt-get install acetoneiso
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
acetoneiso : Depends: libphonon4 (>= 4:4.2.0) but it is not going to be installed
Depends: libqtwebkit4 (>= 2.2~2011week36) but it is not going to be installed
Depends: phonon but it is not going to be installed
Depends: fuseiso but it is not going to be installed
Depends: fuse-utils but it is not going to be installed
Depends: cdrdao but it is not going to be installed
Depends: gnupg-agent but it is not going to be installed
Depends: gnupg2 but it is not going to be installed
Depends: pinentry-qt4 but it is not going to be installed
gnome-core : Depends: gdm (>= 3.0) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
hamed-OEM hamed #
sudo apt-get -f remove
فکر کنم این جواب میده :)
نکتهی مهم: مراقب باشید که چی رو داره پاک میکنه !کد: [انتخاب]sudo apt-get -f remove
sudo dpkg --configure -a
sudo apt-get -f install
sudo rm -iv /var/cache/apt/archives/gdm_3*
sudo apt-get -f remove
این رو یه امتحان بزنکد: [انتخاب]sudo dpkg --configure -a
sudo apt-get -f install
هرچی هست زیر سر gdm هست
gdm رو پاک کن شاید (!) درست شد :)کد: [انتخاب]sudo rm -iv /var/cache/apt/archives/gdm_3*
sudo apt-get -f remove
این رو یه امتحان بزنکد: [انتخاب]sudo dpkg --configure -a
sudo apt-get -f install
hamed@hamed-OEM ~ $ sudo dpkg --configure -a
[sudo] password for hamed:
dpkg: dependency problems prevent configuration of gnome-core:
gnome-core depends on gdm (>= 3.0); however:
Package gdm is not installed.
dpkg: error processing gnome-core (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of gnome:
gnome depends on gnome-core (= 1:3.0+6ubuntu3); however:
Package gnome-core is not configured yet.
dpkg: error processing gnome (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
gnome-core
gnome
هرچی هست زیر سر gdm هست
gdm رو پاک کن شاید (!) درست شد :)کد: [انتخاب]sudo rm -iv /var/cache/apt/archives/gdm_3*
sudo apt-get -f remove
hamed@hamed-OEM ~ $ sudo rm -iv /var/cache/apt/archives/gdm_3*
rm: remove regular file `/var/cache/apt/archives/gdm_3.0.4-0ubuntu15_i386.deb'? y
removed `/var/cache/apt/archives/gdm_3.0.4-0ubuntu15_i386.deb'
hamed@hamed-OEM ~ $ sudo apt-get -f remove
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following package was automatically installed and is no longer required:
gir1.2-timezonemap-1.0
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
gdm
Suggested packages:
uswsusp gnome-mag gnome-orca gok
The following NEW packages will be installed:
gdm
0 upgraded, 1 newly installed, 0 to remove and 439 not upgraded.
2 not fully installed or removed.
Need to get 1,731 kB of archives.
After this operation, 6,968 kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://archive.ubuntu.com/ubuntu/ precise/universe gdm i386 3.0.4-0ubuntu15 [1,731 kB]
Fetched 1,731 kB in 18s (94.6 kB/s)
Preconfiguring packages ...
(Reading database ... 187056 files and directories currently installed.)
Unpacking gdm (from .../gdm_3.0.4-0ubuntu15_i386.deb) ...
dpkg: error processing /var/cache/apt/archives/gdm_3.0.4-0ubuntu15_i386.deb (--unpack):
trying to overwrite '/usr/share/pixmaps/nobody.png', which is also in package mdm 1.0.4
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Processing triggers for hicolor-icon-theme ...
Errors were encountered while processing:
/var/cache/apt/archives/gdm_3.0.4-0ubuntu15_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
اگه کسی راهی بلد نیست که برم سراغ روش ویندوزی.... :(
(گفتم میام اینور کمتر مجبورم هی سیستم عامل عوض کنم ولی کاملا برعکس شده!)
sudo dpkg -i --force-overwrite /var/cache/apt/archives/gdm_3.0.4-0ubuntu15_i386.deb
sudo apt-get autoremove
sudo apt-get update
اگه کسی راهی بلد نیست که برم سراغ روش ویندوزی.... :(
(گفتم میام اینور کمتر مجبورم هی سیستم عامل عوض کنم ولی کاملا برعکس شده!)
روش ویندوزی به درد همون ویندوز میخوره :)
میتونی از بزرگترای انجمن بپرسی، پیام و یا ایمیل
یکی دو روز بمون شاید راهی پیدا شد یه چیزی هم یاد گرفتیم ;)
این رو هم امتحان کن :)کد: [انتخاب]sudo dpkg -i --force-overwrite /var/cache/apt/archives/gdm_3.0.4-0ubuntu15_i386.deb
sudo apt-get autoremove
sudo apt-get update
تبریک میگم :)
من اطلاعات زیادی ندارم، درواقع یه تازه وارد توی دنیای آزاد هستم، این رو هم با کمک گوگل پیدا کردم :D
E: Sub-process /usr/bin/dpkg returned an error code (1)
متشکرم :)
متن خطا رو جست و جو کردم، یعنی این:کد: [انتخاب]E: Sub-process /usr/bin/dpkg returned an error code (1)
sudo dpkg -i --force-overwrite /var/cache/apt/archives/gdm_3.0.4-0ubuntu15_i386.deb
sudo apt-get autoremove
man dpkg
...
--force-things
...
overwrite: Overwrite one package's file with another's file.
کد: [انتخاب]man dpkg
...
--force-things
...
overwrite: Overwrite one package's file with another's file.
asbux-G31M-ES2C alireza # sudo apt-get -f installReading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
muffin-common
The following packages will be upgraded:
muffin-common
1 upgraded, 0 newly installed, 0 to remove and 410 not upgraded.
21 not fully installed or removed.
Need to get 1,554 kB of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue [Y/n]? y
Err http://packages.linuxmint.com/ maya/main muffin-common all 1.0.3-UP2
403 Forbidden
Failed to fetch http://packages.linuxmint.com/pool/main/m/muffin/muffin-common_1.0.3-UP2_all.deb 403 Forbidden
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing
خدا دارم دیوونه میشم باورم نمیشه تمام مشکل من این بود که با وووووووووو-پ---ی ان باید کانکت میشدم و چیزی رو نصب میکردم و تمام ای دارم دیونه میشم خدا صبر بده خدایا ](*,) ](*,) ](*,) ](*,) ](*,) ](*,) ](*,) ](*,) ](*,) ](*,) ](*,) ](*,) ](*,)
http://packages.linuxmint.com/pool/main/m/muffin/muffin-common_1.0.3-UP2_all.deb
من وقتی با مودم سیمکارتی کانکت میشم مثل اون موقعی که وصل نیستم دکمه ی install غیرفعاله!
یعنی با الاغ میام اینجا؟ ولی برای نصب از طریق software center باید با قاطر حرکت کنم؟!
من وقتی با مودم سیمکارتی کانکت میشم مثل اون موقعی که وصل نیستم دکمه ی install غیرفعاله!
یعنی با الاغ میام اینجا؟ ولی برای نصب از طریق software center باید با قاطر حرکت کنم؟!
سلام خسته نباشید
اقا این سافتورسنتر واسم شده مصیبت
بزرگترین مشکلم همینه
اما مشکل
من میام یه چیزی رو نصب کنم
مثلا برنامه موجود تو یه پوشه رو با دستور * sudo dpkg -i میخام نصب کنم
به هر دلیلی اگه ایرادی تو فرایند بوجود بیاد یا بخام نصب رو وست راه قطع کنم سافتور قفل میشه و همش پیام ریپیر بهم میده
ریپیر میکنم ارور میده
دستوراتی رو هم که گفته بودین چندتاشو زدم مثلا
واسه دستور
apt-get -f install
خروجی اینه:
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تو منو هم یه شکل ورود ممنوع زده که توش SHOW UPDATE رو میزنم میگه چی باید اپدیت بشه اما موقع اپدیت ارور میدهCHEK FOR UPDATE روهم از همونجا میزنم ارور میدههمشم پاس میدن به دستور apt-get -f install که متاسفانه ترمینال ارور فوق رو میدهاعصابمو خورد کردهیبار واسم راه حل بدین راحت شم تورو خدا ](*,) :'( :'( :'( :'( :'( :'( :'(
/var/lib/dpkg/lock