Problemi apt sul server

Installazione, configurazione e uso di Ubuntu come server: web, ftp, mail, news, proxy, dns, ecc.

Problemi apt sul server

Messaggioda Cosmy » martedì 14 febbraio 2006, 1:48

Anche se è debian lo posto che non si sa mai.. praticamente mi da degli errori sull'upgrade e così non mi fa più neanche installare nuovi programmi dato che rimane bloccato su questi pacchetti.

server:/home/cosmy# apt-get -f install
Reading Package Lists... Done
Building Dependency Tree... Done
0 upgraded, 0 newly installed, 0 to remove and 91 not upgraded.
6 not fully installed or removed.
Need to get 0B of archives.
After unpacking 0B of additional disk space will be used.
Setting up xlibs-data (4.3.0.dfsg.1-10) ...
update-alternatives: unable to make /usr/X11R6/lib/X11/icons/default/index.theme.dpkg-tmp a symlink to /etc/alternatives/x-cursor-theme: No such file or directory
dpkg: error processing xlibs-data (--configure):
subprocess post-installation script returned error exit status 2
dpkg: dependency problems prevent configuration of libx11-6:
libx11-6 depends on xlibs-data; however:
  Package xlibs-data is not configured yet.
dpkg: error processing libx11-6 (--configure):
dependency problems - leaving unconfigured
Setting up libxt6 (4.3.0.dfsg.1-10) ...
libxt6 postinst warning: /usr/X11R6/lib/X11/app-defaults symbolic link does not exist
Analyzing /usr/X11R6/lib/X11/app-defaults:
drwxr-xr-x  11 root root 312 2006-01-24 16:06 /usr
/usr/X11R6: nonexistent; directory contents of /usr/:
total 40
drwxr-xr-x  2 root root  21232 2006-02-07 10:15 bin
lrwxrwxrwx  1 root root    29 2005-09-27 15:20 doc -> /mnt/backup/linkDaDisco1/doc/
drwxr-xr-x  2 root root    72 2005-03-14 09:16 games
drwxr-xr-x  29 root root  3792 2006-02-07 10:15 include
lrwxrwxrwx  1 root root    30 2005-10-07 08:25 info -> /mnt/backup/linkDaDisco1/info/
drwxr-xr-x  36 root root  10912 2006-02-07 10:15 lib
drwxrwsr-x  13 root staff  384 2005-06-05 13:07 local
drwxr-xr-x  2 root root  4704 2006-02-07 10:15 sbin
drwxr-xr-x  32 root root    824 2006-02-10 17:49 share
drwxrwsr-x  2 root src      48 2004-07-26 18:27 src
lrwxrwxrwx  1 root root    31 2005-10-07 08:26 X11R6 -> /mnt/backup/linkDaDisco1/X11R6/
Searching for overlapping packages...
The following packages appear to have file overlaps with the XFree86 packages;
these packages are either very old, or in violation of Debian Policy.  Try
upgrading each of these packages to the latest available version if possible:
for example, with the command "apt-get install".  If no newer version of a
package is available, you will have to remove it; for example, with the command
"apt-get remove".  If even the latest available version of the package has
this file overlap, please file a bug against that package with the Debian Bug
Tracking System.  You may want to refer the package maintainer to section 12.8
of the Debian Policy manual.
The overlapping packages are:
libxt6
libxt6 postinst error: bad symbolic links on system
dpkg: error processing libxt6 (--configure):
subprocess post-installation script returned error exit status 74
dpkg: dependency problems prevent configuration of tetex-bin:
tetex-bin depends on libx11-6 | xlibs (>> 4.1.0); however:
  Package libx11-6 is not configured yet.
  Package xlibs is not installed.
tetex-bin depends on libxt6 | xlibs (>> 4.1.0); however:
  Package libxt6 is not configured yet.
  Package xlibs is not installed.
dpkg: error processing tetex-bin (--configure):
dependency problems - leaving unconfigured
Setting up gsfonts (8.14+v8.11+urw-0.2) ...
(Re-)registering PostScript fonts...Can't locate Debian/Defoma/Common.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.8.4 /usr/local/share/perl/5.8.4 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl .) at /usr/bin/defoma-font line 8.
BEGIN failed--compilation aborted at /usr/bin/defoma-font line 8.
dpkg: error processing gsfonts (--configure):
subprocess post-installation script returned error exit status 2
dpkg: dependency problems prevent configuration of tetex-extra:
tetex-extra depends on tetex-bin (>> 2.0.2-3); however:
  Package tetex-bin is not configured yet.
tetex-extra depends on gsfonts; however:
  Package gsfonts is not configured yet.
dpkg: error processing tetex-extra (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
xlibs-data
libx11-6
libxt6
tetex-bin
gsfonts
tetex-extra
E: Sub-process /usr/bin/dpkg returned an error code (1)

server:/home/cosmy# man debconf
Reformatting debconf(1), please wait...
Cosmy
Scoppiettante Seguace
Scoppiettante Seguace
 
Messaggi: 442
Iscrizione: ottobre 2005

Re: Problemi apt sul server

Messaggioda Cosmy » martedì 14 febbraio 2006, 2:14

stessa cosa se do

server:/home/cosmy# dpkg --configure -a
Cosmy
Scoppiettante Seguace
Scoppiettante Seguace
 
Messaggi: 442
Iscrizione: ottobre 2005

Re: Problemi apt sul server

Messaggioda Cosmy » venerdì 17 febbraio 2006, 20:15

risolto in parte.. ho ricreato directory e symlink mancanti quindi si è sbloccato il procedimento.
adesso rimangono solo due pacchetti da risolvere: gsfonts e tetex-extra.


Setting up gsfonts (8.14+v8.11+urw-0.2) ...
(Re-)registering PostScript fonts...Can't locate Debian/Defoma/Common.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.8.4 /usr/local/share/perl/5.8.4 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl .) at /usr/bin/defoma-font line 8.
BEGIN failed--compilation aborted at /usr/bin/defoma-font line 8.
dpkg: error processing gsfonts (--configure):
subprocess post-installation script returned error exit status 2
dpkg: dependency problems prevent configuration of tetex-extra:
tetex-extra depends on gsfonts; however:
  Package gsfonts is not configured yet.
dpkg: error processing tetex-extra (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
gsfonts
tetex-extra
E: Sub-process /usr/bin/dpkg returned an error code (1)
Cosmy
Scoppiettante Seguace
Scoppiettante Seguace
 
Messaggi: 442
Iscrizione: ottobre 2005


Torna a Ubuntu su server

Chi c’è in linea

Visualizzano questa sezione: 0 utenti registrati e 3 ospiti