2017-04-08 6 views
0

필자는 파이에서 Debian을 사용하지 않아서 더 이상 sudo를 설치할 수 없습니다. 오류없이 설치할 수 있습니다. 예를Gnome-packagekit-data install error

$ sudo apt-get install autogen 
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: 
autogen : Depends: guile-2.0-libs but it is not going to be installed 
      Depends: libopts25-dev (= 1:5.18.4-3) but it is not going to be installed 
      Recommends: autogen-doc but it is not going to be installed 
gnome-packagekit-session : Depends: gnome-packagekit-data (>= 3.14.0-1) but it is not going to be installed 
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution). 

위해 나는 시도 :

sudo apt-get -f install 

그리고 난 얻을 : E는 : 하위 프로세스는/usr/빈/dpkg를 오류 코드를 반환합니다 (1). 전체 로그 :

$ sudo apt-get -f install 
Reading package lists... Done 
Building dependency tree 
Reading state information... Done 
Correcting dependencies... Done 
The following packages were automatically installed and are no longer required: 
    coinor-libcbc3 coinor-libcgl1 coinor-libclp1 coinor-libcoinmp1 coinor-libcoinutils3 coinor-libosi1 cups-bsd cups-client epiphany-browser-data fonts-opensymbol gconf-service gconf2-common gsfonts gsfonts-x11 gstreamer0.10-alsa 
    gstreamer0.10-plugins-base jackd libabw-0.1-1 libavahi-gobject0 libboost-date-time1.55.0 libcdr-0.1-1 libclucene-contribs1 libclucene-core1 libcmis-0.4-4 libcolamd2.8.0 libe-book-0.1-1 libeot0 libepoxy0 libetonyek-0.1-1 libevdev2 
    libexttextcat-2.0-0 libexttextcat-data libfm-data libfm-extra4 libfm-gtk-data libfm4 libfreehand-0.1-1 libgconf-2-4 libgif4 libgnome-keyring-common libgnome-keyring0 libgstreamer-plugins-base0.10-0 libgstreamer0.10-0 libgtop2-7 
    libgtop2-common libhsqldb1.8.0-java libhyphen0 liblangtag-common liblangtag1 libmenu-cache-bin libmenu-cache3 libmng1 libmotif-common libmozjs185-1.0 libmspub-0.1-1 libmtdev1 libmwaw-0.3-3 libmythes-1.2-0 libodfgen-0.1-1 
    liborcus-0.8-0 libpciaccess0 libqt4-dbus libqt4-xml libqtcore4 libqtdbus4 libraptor2-0 librasqal3 librdf0 librevenge-0.0-0 libvisio-0.1-1 libvte-common libwnck-3-common libwnck-common libwpd-0.10-10 libwpg-0.3-3 libwps-0.3-3 
    libxcb-util0 libxfont1 libyajl2 lp-solve lxmenu-data lxpanel-data netsurf-common pi-package-data python3-gi qdbus qtchooser qtcore4-l10n uno-libs3 ure xfonts-100dpi xfonts-encodings xfonts-utils 
Use 'apt-get autoremove' to remove them. 
The following extra packages will be installed: 
    gnome-packagekit-data 
The following NEW packages will be installed: 
    gnome-packagekit-data 
0 upgraded, 1 newly installed, 0 to remove and 54 not upgraded. 
208 not fully installed or removed. 
Need to get 0 B/1,302 kB of archives. 
After this operation, 8,041 kB of additional disk space will be used. 
Do you want to continue? [Y/n] Y 
(Reading database ... 114514 files and directories currently installed.) 
Preparing to unpack .../gnome-packagekit-data_3.14.0-1_all.deb ... 
Unpacking gnome-packagekit-data (3.14.0-1) ... 
dpkg: error processing archive /var/cache/apt/archives/gnome-packagekit-data_3.14.0-1_all.deb (--unpack): 
trying to overwrite '/usr/share/icons/hicolor/16x16/mimetypes/application-x-catalog.png', which is also in package pi-package-data 0.2 
Processing triggers for hicolor-icon-theme (0.13-1) ... 
Errors were encountered while processing: 
/var/cache/apt/archives/gnome-packagekit-data_3.14.0-1_all.deb 
E: Sub-process /usr/bin/dpkg returned an error code (1) 
[email protected]:~ $ 

문제는 '그놈 패키지 키트 (PackageKit) 데이터'과 관련이있다 나는 온라인 비슷한 불평을 볼 수 없습니다 : https://www.google.com/search?q=gnome-packagekit-data+raspberry+pi+error+site:www.raspberrypi.org&num=100&espv=2&sa=X&ved=0ahUKEwjA5-HswJXTAhVSImMKHdk1AsUQrQIIJygEMAA&biw=1279&bih=771하지만 솔루션을.

어떻게 해결할 수 있습니까?

답변

0

나는 그것이 나에게 어떤 파괴적인 결과가 있는지를 알지 못하지만, 나는 조심스럽게이 일을 할 수 있었다.

이 문제는 저에게 pi-package 문제입니다. gnome-packagekit을 방해하고있었습니다. 나를위한 해결책은 pi-package, pi-package-data 및 pi-package-session을 제거하는 것이 었습니다. apt가 불평하지 않도록 dpkg를 사용하여 패키지를 제거해야합니다.

sudo dpkg -r pi-package pi-package-data pi-package-session 

해당 명령이 경쟁 한 후에는 실행이 없어야합니다 :

sudo apt-get -f install 

이 다른 문제가 발생하는 경우 나도 몰라,하지만 내가 dpkg를하지 않았다 때문에 그렇지 않은 가정 그 패키지에 의존하는 패키지를 말하십시오.