Ubuntu 24.04.1 LTS | Lataa ja asenna | Tutustu yhteisöön | Blogi | Yritysten tarjoamat palvelutValmistajien tukemat Ubuntu-tietokoneet: kannettavatietokone.fi uudet ja käytetyt sekä Lenovo-verkkokauppa
E: Couldn't configure pre-depend libc6 for findutils, probably a dependency cycle.
I believe I've solved it.After cleaning apt-get's cache, I tried one more time without good results; but with that I generated a "clean" cache (ie only with the debs I was needing).Then didcd /var/cache/apt/archivesand thensudo dpkg --force-depends --install libc6_2.8~20080505-0ubuntu7_i386.deb findutils_4.4.0-2ubuntu3_i386.debof course the specific package names may differ.
Toimiiko, jos poistat paketin findutils? Minulla se ei ainakaan ole asennettuna, enkä sitä itse ainakaan ole poistanut.
Lainaus käyttäjältä: Nollapiste - 14.05.09 - klo:16.11Toimiiko, jos poistat paketin findutils? Minulla se ei ainakaan ole asennettuna, enkä sitä itse ainakaan ole poistanut.Ei toimi, sillä minulla ei ole tuota pakettia asennettuna.
Lainaus käyttäjältä: mrl586 - 14.05.09 - klo:16.15Lainaus käyttäjältä: Nollapiste - 14.05.09 - klo:16.11Toimiiko, jos poistat paketin findutils? Minulla se ei ainakaan ole asennettuna, enkä sitä itse ainakaan ole poistanut.Ei toimi, sillä minulla ei ole tuota pakettia asennettuna.Tuon pitäisi olla oletuksena asennettu, sillä tarjoaa peruskomentoja.
https://bugs.edge.launchpad.net/ubuntu/+source/aptitude/+bug/124895Rodolfo oli ratkaissut ongelman:LainausI believe I've solved it.After cleaning apt-get's cache, I tried one more time without good results; but with that I generated a "clean" cache (ie only with the debs I was needing).Then didcd /var/cache/apt/archivesand thensudo dpkg --force-depends --install libc6_2.8~20080505-0ubuntu7_i386.deb findutils_4.4.0-2ubuntu3_i386.debof course the specific package names may differ.
root@localhost:/var/cache/apt/archives# dpkg --force-depends --install libc6_2.9-4ubuntu6_i386.deb findutils_4.4.0-2ubuntu3_i386.deb(Reading database ... 0 files and directories currently installed.)Unpacking libc6 (from libc6_2.9-4ubuntu6_i386.deb) ...A non-dpkg owned copy of the libc6-i686 package was found.It is not safe to upgrade the C library in this situation;please remove that copy of the C library and try again.dpkg: error processing libc6_2.9-4ubuntu6_i386.deb (--install): subprocess pre-installation script returned error exit status 1dpkg: error processing findutils_4.4.0-2ubuntu3_i386.deb (--install): cannot access archive: No such file or directoryErrors were encountered while processing: libc6_2.9-4ubuntu6_i386.deb findutils_4.4.0-2ubuntu3_i386.deb
Tuon ongelman ratkaisun jälkeen konsoliin tulostuu lisää virheilmoituksia (ks. liite)
root@localhost:~# apt-get upgradeReading package lists... DoneBuilding dependency treeReading state information... Done0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.10 not fully installed or removed.After this operation, 0B of additional disk space will be used.Do you want to continue [Y/n]? ySetting up libapache2-mod-php5 (5.2.6.dfsg.1-3ubuntu4.1) ...dpkg: error processing libapache2-mod-php5 (--configure): subprocess post-installation script returned error exit status 10Setting up php5-cli (5.2.6.dfsg.1-3ubuntu4.1) ...dpkg: error processing php5-cli (--configure): subprocess post-installation script returned error exit status 10dpkg: dependency problems prevent configuration of php-pear: php-pear depends on php5-cli | php4-cli; however: Package php5-cli is not configured yet. Package php4-cli is not installed.dpkg: error processing php-pear (--configure): dependency problems - leaving unconfiguredSetting up php5-cgi (5.2.6.dfsg.1-3ubuntu4.1) ...No apport report written because the error message indicates its a followup error from a previous failure. dpkg: error processing php5-cgi (--configure): subprocess post-installation script returned error exit status 10dpkg: dependency problems prevent configuration of php5: php5 depends on libapache2-mod-php5 (>= 5.2.6.dfsg.1-3ubuntu4.1) | libapache2-mod-php5filter (>= 5.2.6.dfsg.1-3ubuntu4.1) | php5-cgi (>= 5.2.6.dfsg.1-3ubuntu4.1); however: Package libapache2-mod-php5 is not configured yet. Package libapache2-mod-php5filter is not installed. Package php5-cgi is not configured yet.dpkg: error processing php5 (--configure): dependency problems - leaving unconfigureddpkg: dependency problems prevent configuration of php5-gd: php5-gd depends on phpapi-20060613+lfs; however: Package phpapi-20060613+lfs is not installed. Package libapache2-mod-php5 which provides phpapi-20060613+lfs is not configured yet. Package php5-cli which provides phpapi-20060613+lfs is not configured yet. Package php5-cgi which provides phpapi-20060613+lfs is not configured yet.dpkg: error processing php5-gNo apport report written because MaxReports is reached already No apport report written because MaxReports is reached already No apport report written because MaxReports is reached already No apport report written because MaxReports is reached already No apport report written because MaxReports is reached already No apport report written because MaxReports is reached already No apport report written because MaxReports is reached already d (--configure): dependency problems - leaving unconfigureddpkg: dependency problems prevent configuration of php5-ldap: php5-ldap depends on phpapi-20060613+lfs; however: Package phpapi-20060613+lfs is not installed. Package libapache2-mod-php5 which provides phpapi-20060613+lfs is not configured yet. Package php5-cli which provides phpapi-20060613+lfs is not configured yet. Package php5-cgi which provides phpapi-20060613+lfs is not configured yet.dpkg: error processing php5-ldap (--configure): dependency problems - leaving unconfigureddpkg: dependency problems prevent configuration of php5-mysql: php5-mysql depends on phpapi-20060613+lfs; however: Package phpapi-20060613+lfs is not installed. Package libapache2-mod-php5 which provides phpapi-20060613+lfs is not configured yet. Package php5-cli which provides phpapi-20060613+lfs is not configured yet. Package php5-cgi which provides phpapi-20060613+lfs is not configured yet.dpkg: error processing php5-mysql (--configure): dependency problems - leaving unconfigureddpkg: dependency problems prevent configuration of php5-snmp: php5-snmp depends on phpapi-20060613+lfs; however: Package phpapi-20060613+lfs is not installed. Package libapache2-mod-php5 which provides phpapi-20060613+lfs is not configured yet. Package php5-cli which provides phpapi-20060613+lfs is not configured yet. Package php5-cgi which provides phpapi-20060613+lfs is not configured yet.dpkg: error processing php5-snmp (--configure): dependency problems - leaving unconfigureddpkg: dependency problems prevent configuration of cacti: cacti depends on libapache2-mod-php4 | php4 | libapache2-mod-php5 | php5; however: Package libapache2-mod-php4 is not installed. Package php4 is not installed. Package libapache2-mod-php5 is not configured yet. Package php5 is not configured yet. cacti depends on php4-mysql (>= 4.3.10-9) | php5-mysql; however: Package php4-mysql is not installed. Package php5-mysql is not configured yet. cacti depends on php4-cli | php5-cli; however: Package php4-cli is not installed. Package php5-cli is not configured yet. cacti depends on php4-snmp | php5-snmp; however: Package php4-snmp is not installed. Package php5-snmp is not configured yet.dpkg: error processing cacti (--configure): dependency problems - leaving unconfiguredErrors were encountered while processing: libapache2-mod-php5 php5-cli php-pear php5-cgi php5 php5-gd php5-ldap php5-mysql php5-snmp cactiE: Sub-process /usr/bin/dpkg returned an error code (1)