그래서 우분투는 잠시 동안 완벽하게 작동했습니다. Chrome을 다운로드하려고 시도했지만 실수로 32 비트 버전을 다운로드했습니다. 돌아와서 64 비트를 다운로드하려고 시도했지만 (32 비트를 삭제하지 않고)에 관련된 오류 메시지가 표시되기 시작했습니다 google-chrome-stable
.
다음 단계는 Chrome과 관련하여 Ubuntu에있는 모든 것을 제거하는 것이지만 여전히 이러한 오류가 발생하며 Linux에 대한 초보자이기 때문에 지금해야 할 일에 대해 정말로 잃어 버렸습니다.
이제 명령 행을 통해 아무것도 다운로드 할 수 없습니다. 예를 들어 방금 Ubuntu의 f.lux 버전을 다운로드하려고 시도한 결과는 다음과 같습니다.
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
gcc-4.8-base:i386 libasn1-8-heimdal:i386 libasound2:i386
libatk-bridge2.0-0:i386 libatk1.0-0:i386 libatspi2.0-0:i386
libavahi-client3:i386 libavahi-common-data:i386 libavahi-common3:i386
libcairo-gobject2:i386 libcairo2:i386 libcolord1:i386 libcups2:i386
libcurl3:i386 libdatrie1:i386 libdbus-glib-1-2:i386 libdbusmenu-glib4:i386
libdbusmenu-gtk3-4:i386 libdbusmenu-gtk4:i386 libexpat1:i386 libffi6:i386
libfontconfig1:i386 libfreetype6:i386 libgconf-2-4:i386 libgcrypt11:i386
libgdk-pixbuf2.0-0:i386 libglib2.0-0:i386 libgnutls26:i386
libgpg-error0:i386 libgraphite2-3:i386 libgssapi-krb5-2:i386
libgssapi3-heimdal:i386 libgtk-3-0:i386 libgtk2.0-0:i386 libharfbuzz0b:i386
libhcrypto4-heimdal:i386 libheimbase1-heimdal:i386 libheimntlm0-heimdal:i386
libhx509-5-heimdal:i386 libidn11:i386 libjasper1:i386 libjbig0:i386
libjpeg-turbo8:i386 libjpeg8:i386 libk5crypto3:i386 libkeyutils1:i386
libkrb5-26-heimdal:i386 libkrb5-3:i386 libkrb5support0:i386 liblcms2-2:i386
libldap-2.4-2:i386 libmbim-glib0 libnspr4:i386 libnss3:i386 libp11-kit0:i386
libpango-1.0-0:i386 libpango1.0-0:i386 libpangocairo-1.0-0:i386
libpangoft2-1.0-0:i386 libpangox-1.0-0:i386 libpangoxft-1.0-0:i386
libpixman-1-0:i386 libqmi-glib0 libroken18-heimdal:i386 librtmp0:i386
libsasl2-2:i386 libsasl2-modules:i386 libsasl2-modules-db:i386
libsqlite3-0:i386 libssl1.0.0:i386 libstdc++6:i386 libtasn1-6:i386
libthai0:i386 libtiff5:i386 libwayland-client0:i386 libwayland-cursor0:i386
libwind0-heimdal:i386 libx11-6:i386 libxau6:i386 libxcb-render0:i386
libxcb-shm0:i386 libxcb1:i386 libxcomposite1:i386 libxcursor1:i386
libxdamage1:i386 libxdmcp6:i386 libxext6:i386 libxfixes3:i386 libxft2:i386
libxi6:i386 libxinerama1:i386 libxkbcommon0:i386 libxrandr2:i386
libxrender1:i386 libxss1:i386 libxtst6:i386 usb-modeswitch
usb-modeswitch-data
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
libappindicator1 libglade2-0 libindicator7
Suggested packages:
python-gtk2-doc
The following packages will be REMOVED:
google-chrome-stable:i386 libappindicator1:i386 libindicator7:i386
The following NEW packages will be installed:
libappindicator1 libglade2-0 libindicator7 python-appindicator python-glade2
0 upgraded, 5 newly installed, 3 to remove and 3 not upgraded.
1 not fully installed or removed.
Need to get 53.4 kB/101 kB of archives.
After this operation, 185 MB disk space will be freed.
Do you want to continue? [Y/n] Y
Get:1 http://us.archive.ubuntu.com/ubuntu/ trusty/main libglade2-0 amd64 1:2.6.4-2 [44.6 kB]
Get:2 http://us.archive.ubuntu.com/ubuntu/ trusty/main python-glade2 amd64 2.24.0-3ubuntu3 [8,744 B]
Fetched 53.4 kB in 0s (159 kB/s)
(Reading database ... 170838 files and directories currently installed.)
Removing google-chrome-stable (46.0.2490.71-1) ...
xdg-icon-resource: size argument must be numeric
Try 'xdg-icon-resource --help' for more information.
dpkg: error processing package google-chrome-stable (--remove):
subprocess installed pre-removal script returned error exit status 1
xdg-icon-resource: size argument must be numeric
Try 'xdg-icon-resource --help' for more information.
dpkg: error while cleaning up:
subprocess installed post-installation script returned error exit status 1
Removing libappindicator1 (12.10.1+13.10.20130920-0ubuntu4.1) ...
Removing libindicator7 (12.10.2+14.04.20141007.1-0ubuntu1) ...
Processing triggers for libc-bin (2.19-0ubuntu6.6) ...
E: Sub-process /usr/bin/dpkg returned an error code (1)
문제없이 패키지를 다운로드 할 수 있어야합니다. 누구든지 나를 도울 수 있습니까?
편집 : 또한 소프트웨어를 업데이트하려고 할 때이 메시지가 나타납니다.
**THE PACKAGE SYSTEM IS BROKEN.**
Check if you are using third party repositories. If so disable them, since they are a common source of problems.
Furthermore run the following command in a Terminal: apt-get install -f
그러나을 실행 apt-get install -f
하면 다음과 같은 결과가 나타납니다.
Errors were encountered while processing:
google-chrome-stable
E: Sub-process /usr/bin/dpkg returned an error code (1)
의 답변 sudo apt-get install -f
:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libatk-bridge2.0-0:i386 libatspi2.0-0:i386 libcairo-gobject2:i386
libcolord1:i386 libdbusmenu-gtk3-4:i386 libgtk-3-0:i386 liblcms2-2:i386
libmbim-glib0 libqmi-glib0 libwayland-client0:i386 libwayland-cursor0:i386
libxkbcommon0:i386 usb-modeswitch usb-modeswitch-data
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up google-chrome-stable (46.0.2490.71-1) ...
xdg-icon-resource: size argument must be numeric
Try 'xdg-icon-resource --help' for more information.
dpkg: error processing package google-chrome-stable (--configure):
subprocess installed post-installation script returned error exit status 1
E: Sub-process /usr/bin/dpkg returned an error code (1)
에 대한 응답 sudo apt-get update
이 매우 길어서 오류 메시지로 단축했습니다.
W: Failed to fetch http://ppa.launchpad.net/fabricesp/ppa/ubuntu/dists/trusty/main/binary-amd64/Packages 404 Not Found
W: Failed to fetch http://ppa.launchpad.net/fabricesp/ppa/ubuntu/dists/trusty/main/binary-i386/Packages 404 Not Found
E: Some index files failed to download. They have been ignored, or old ones used instead.
install-f에 대한 오류 :
After this operation, 0 B of additional disk space will be used.
Setting up google-chrome-stable (46.0.2490.71-1) ...
xdg-icon-resource: size argument must be numeric
Try 'xdg-icon-resource --help' for more information.
dpkg: error processing package google-chrome-stable (--configure):
subprocess installed post-installation script returned error exit status 1
E: Sub-process /usr/bin/dpkg returned an error code (1)
그리고 dist-upgrade에 대한 오류 :
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] Y
Setting up google-chrome-stable (46.0.2490.71-1) ...
xdg-icon-resource: size argument must be numeric
Try 'xdg-icon-resource --help' for more information.
dpkg: error processing package google-chrome-stable (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
google-chrome-stable
E: Sub-process /usr/bin/dpkg returned an error code (1)
에 대한 오류 sudo dpkg --purge --force-all google-chrome-stable
Removing google-chrome-stable (46.0.2490.71-1) ...
xdg-icon-resource: size argument must be numeric
Try 'xdg-icon-resource --help' for more information.
dpkg: error processing package google-chrome-stable (--purge):
subprocess installed pre-removal script returned error exit status 1
xdg-icon-resource: size argument must be numeric
Try 'xdg-icon-resource --help' for more information.
dpkg: error while cleaning up:
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
google-chrome-stable
AB의 제안에 대한 응답으로을 실행 한 후 실행
sudo rm /var/lib/dpkg/info/google-chrome-stable*.prerm
한 결과 sudo apt-get install -f
와 동일한 답변을 얻었습니다.
패키지 목록을 읽는 중 ... 완료 의존성 트리 구축 상태 정보를 읽는 중 ... 완료 다음 패키지가 자동으로 설치되었으며 더 이상 필요하지 않습니다. libatk-bridge2.0-0 : i386 libatspi2.0-0 : i386 libcairo-gobject2 : i386 libcolord1 : i386 libdbusmenu-gtk3-4 : i386 libgtk-3-0 : i386 liblcms2-2 : i386 libmbim-glib0 libqmi-glib0 libwayland-client0 : i386 libwayland-cursor0 : i386 libxkbcommon0 : i386 USB 모드 스위치 USB 모드 스위치 데이터 'apt-get autoremove'를 사용하여 제거하십시오. 0 업그레이드, 0 새로 설치, 0 제거 및 0 업그레이드되지 않음 1 완전히 설치 또는 제거되지 않았습니다. 이 작업 후에는 0B의 추가 디스크 공간이 사용됩니다. google-chrome-stable 설정 (46.0.2490.71-1) ... xdg-icon-resource : size 인수는 숫자 여야합니다 자세한 내용은 'xdg-icon-resource --help'를 시도하십시오. dpkg : google-chrome-stable 패키지 처리 중 오류 발생 (--configure) : 서브 프로세스 설치된 설치 후 스크립트가 오류 종료 상태 1을 리턴했습니다. E : 하위 프로세스 / usr / bin / dpkg에서 오류 코드 (1)를 반환했습니다.