• Willkommen im Linux Club - dem deutschsprachigen Supportforum für GNU/Linux. Registriere dich kostenlos, um alle Inhalte zu sehen und Fragen zu stellen.

apt --test install-->3ddiag command not found

ahab

Newbie
Hi,
wollte von SuSE 9.1 auf 9.2 upgraden, komme jetzt nicht mehr weiter:
nach laufen lassen des scripts MyUpgrade wird der Befehl 3ddiag nicht gefunden:

Lese Paketlisten... Fertig
Erzeuge Abhängigkeitsbaum... Fertig
0 upgraded, 0 newly installed, 0 entfernt und 574 nicht upgegradet.
./MyUpgrade3: line 3: 3ddiag: command not found

Nachdem ich es aus dem Script entfernt habe, kommt folgende Fehlermeldung:

Lese Paketlisten... Fertig
Erzeuge Abhängigkeitsbaum... Fertig
0 upgraded, 0 newly installed, 0 entfernt und 574 nicht upgegradet.
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

CheckHardware: cannot connect to X server :0.0
packages sind aber installiert.

Danke schonmal im voraus für Eure Hilfe!!

ps: Hier noch mein Script:

#!/bin/bash
apt --test install \
3ddiag CheckHardware Crystalcursors DirectFB EastWest ImageMagick \
ImageMagick-Magick++ MPlayer OpenOffice_org OpenOffice_org-de \
OpenOffice_org-de-templates OpenOffice_org-en-help OpenOffice_org-fr \
RealPlayer SDL SDL_image SDL_mixer SDL_net SDL_perl SDL_ttf SuSEfirewall2 \
a2ps aaa_base aaa_skel aalib acl afio allegro apt apt-libs arts ash at atk \
attr audiofile autofs autoyast2-installation avifile awesfx bash bc \
bind-utils binutils bitstream-vera bluez-libs bootsplash \
bootsplash-theme-SuSE-Home busybox bzip2 cabextract capi4linux cdk cdparanoia \
cdrdao compat convmv coreutils cpio cpp cracklib cron cups cups-client \
cups-drivers cups-drivers-stp cups-libs curl cyrus-sasl db db1 \
desktop-data-SuSE device-mapper devs dhcpcd dialog diffutils digikam dirmngr \
dos2unix dosbootdisk dosfstools dvd+rw-tools e2fsprogs ed eject enscript \
esound ethtool evms expat faad2 fam fbset file filesystem fillup filters \
findutils finger flac flac-xmms flash-player fontconfig foomatic-filters \
fping freeglut freetype freetype2 fribidi fvwm2 g3utils gail gawk gcc gcc-c++ \
gconf2 gdb gdbm gdk-pixbuf ghostscript-fonts-other ghostscript-fonts-std \
ghostscript-library ghostscript-x11 gimp gimp-cmyk gimp-help gle glib glib2 \
glibc glibc-devel glibc-locale gltt gnokii gnome-filesystem gnome-icon-theme \
gnome-libs gnome-mime-data gnome-vfs2 gpart gpg gpgme gphoto gpm grep groff \
grub gtk gtk2 guile gxmhtml gzip hdparm heimdal-lib hermes hotplug hotplugctl \
hp-officeJet htdig hwinfo i4l-base i4l-isdnlog i4lfirm id3lib ifnteuro imlib \
imlib2 imwheel info info2html initviocons insserv intlfnts iproute2 iptables \
iputils irda isapnp ispell ispell-american ispell-british itcl iwidgets jack \
jfsutils joe k3b kamix kbd kde3-i18n-de kde3-i18n-fr kdeaddons3-kate \
kdeaddons3-kicker kdeaddons3-konqueror kdeadmin3 kdeartwork3 \
kdeartwork3-sound kdeartwork3-xscreensaver kdebase3 kdebase3-kdm \
kdebase3-ksysguardd kdebase3-nsplugin kdebase3-samba kdebluetooth \
kdegraphics3 kdegraphics3-extra kdegraphics3-fax kdegraphics3-kamera \
kdegraphics3-postscript kdelibs3 kdemultimedia3 kdemultimedia3-CD \
kdemultimedia3-sound kdenetwork3 kdenetwork3-InstantMessenger \
kdenetwork3-news kdenetwork3-vnc kdepim3 kdeutils3 kdeutils3-laptop \
kernel-default kernel-source kinternet kio_slp km_usbvision koffice-i18n-de \
koffice-i18n-fr kpowersave krecord ksteak ksymoops lame latex2html-pngicons \
ldapcpplib less libEMF libacl libao libart_lgpl libattr libavc1394 libbonobo \
libbonoboui libcap libdc1394 libdv libdvdnav libdvdread libexif libfame \
libgcc libgcrypt libgimpprint libglade libglade2 libgnome libgnomecanvas \
libgnomeui libgpg-error libgphoto2 libgsf libgtkhtml libid3tag libidl libidn \
libieee1284 libjasper libjpeg libksba liblcms libmikmod libmng libmpeg2 \
libmpeg3 libmusicbrainz libnetpbm libpcap libpng libquicktime libraw1394 \
librsvg libsamplerate libsap libselinux libsmbclient libsndfile libstdc++ \
libstdc++-devel libstroke libtheora libtiff libtool libwmf libxcrypt libxine1 \
libxine1-xvmc libxml libxml2 libxslt liby2util lilo linc linux-atm-lib lirc \
logrotate lsof ltmodem lukemftp lvm2 lzo mad mailx make man man-pages \
manufacturer-PPDs mc mdadm mgetty microcode_ctl mingetty mjpegtools mkinitrd \
mktemp module-init-tools mozplugger mpg123 mplayerplug-in mtools \
myspell-american myspell-british myspell-french myspell-german nasm ncurses \
net-snmp net-tools netcat netcfg nfs-utils noia normalize nscd ntfsprogs \
openct openh323 openldap2-client openmotif-libs openobex opensc openslp \
openssh openssh-askpass openssl orbit orbit2 pam pam-modules pango parted \
patch pciutils pcmcia pcre pcsc-lite perl perl-CDDB_get perl-Config-Crontab \
perl-Digest-SHA1 perl-Event perl-Gtk-Perl perl-TermReadKey perl-XML-Parser \
perl-gettext permissions pico pin pinentry popt portmap postfix powersave ppp \
pptp procinfo procmail procps providers psmisc pstoedit pvm pwdutils pwlib \
pwlib-plugins-alsa pwlib-plugins-v4l python python-wxGTK qt3 raidtools \
readline recode reiserfs release-notes resmgr ripit rpm rrdtool samba-client \
sane sax2 scpm screen scsi sed sendfax sensors setserial siga slang smpeg \
smpppd startup-notification steak strace submount sudo suse-build-key \
suse-release susehelp susehelp_en suselinux-userguide_en sysconfig syslogd \
sysvinit taglib tar tcl tcpd tcpdump tcsh telnet terminfo thinkeramik \
timezone timidity tk transcode udev unclutter unixODBC unzip usbutils \
utempter util-linux v4l-conf vacation vim vorbis-tools w3m wget wine \
wireless-tools words wvdial wvstreams wxGTK wxGTK-gl xanim xaw3d xbanner \
xdg-menu xdmbgrd xf86tools xfsprogs xinetd xmms xmms-kde xmms-musepack \
xmms-plugins xntp xsane xscreensaver xtermset xvid yast2 yast2-backup \
yast2-bootloader yast2-control-center yast2-core yast2-country yast2-firewall \
yast2-inetd yast2-installation yast2-ldap yast2-ldap-client yast2-mail \
yast2-mail-aliases yast2-mouse yast2-ncurses yast2-network yast2-nfs-client \
yast2-nis-client yast2-ntp-client yast2-online-update yast2-packagemanager \
yast2-packager yast2-pam yast2-perl-bindings yast2-power-management \
yast2-printer yast2-profile-manager yast2-qt yast2-repair yast2-restore \
yast2-runlevel yast2-samba-client yast2-scanner yast2-security yast2-slp \
yast2-sound yast2-storage yast2-support yast2-sysconfig yast2-theme-SuSELinux \
yast2-trans-en_US yast2-transfer yast2-tune yast2-tv yast2-update yast2-users \
yast2-x11 yast2-xml yp-tools ypbind zip ziptool zisofs-tools zlib zsh zvbi \
XFree86- XFree86-Mesa- XFree86-fonts-75dpi- XFree86-fonts-scalable- \
XFree86-libs- XFree86-server- XFree86-server-glx- bittorrent- \
bittorrent-gui- bluez-sdp- cryptplug- environment-modules- java2-jre- \
joystick- kdebase3-Personal- kdepim3-organizer- kwintv- libungif- \
newpg- saxident- saxtools- \
Modules OpenEXR aspell bind-libs bluez-utils boehm-gc docbook-xsl-stylesheets \
docbook_4 fltk fonts-config freetype2-devel giflib gnome-keyring gnome-spell2 \
gpg2 gtkdoc gtkhtml2 icu imlib2-loaders input-utils iso_ent java-1_4_2-sun \
jpackage-utils kdebase3-SuSE kdebindings3-python kdelibs3-doc kdepim3-sync \
kdetv libXvMCW libcroco06 libgdiplus libgnomecups libgnomeprint \
libgnomeprintui libicu26 libkexif libkipi liblcms-devel libmspack libnscd \
libzio mono openjade opensp perl-PDA-Pilot pilot-link python-gtk \
python-numeric python-xml qca qscintilla qtorrent sax2-ident sax2-tools \
sgml-skel shared-mime-info simias thinkeramik-style tiff tightvnc \
update-alternatives wxGTK-compat xaw3dd xmlcharent xmms-lib xorg-x11 \
xorg-x11-Mesa xorg-x11-Xvnc xorg-x11-fonts-75dpi xorg-x11-fonts-scalable \
xorg-x11-libs xorg-x11-server xorg-x11-server-glx \
ImageMagick-devel \
Geramik OpenOffice_org-Quickstarter QtPixmap Video-DVDRip a52dec acroread \
alsa alsa-tools cdrecord divx4linux gxine libcdio libdvdcss libffmpeg0 libogg \
libusb libvcd libvorbis lve mkisofs ogmtools perl-libintl-perl rar speex \
subtitleripper vcdimager w32codec-all xine-browser-plugin xine-ui xvid4conf \
kernel-default java-1_4_2-sun-plugin \
 

Calvin

Hacker
ahab schrieb:
Lese Paketlisten... Fertig
Erzeuge Abhängigkeitsbaum... Fertig
0 upgraded, 0 newly installed, 0 entfernt und 574 nicht upgegradet.
./MyUpgrade3: line 3: 3ddiag: command not found

Mit der zweiten Fehlermeldung kann ich nichts anfangen. Aber diese habe ich bei mir vor kurzem auch bekommen. Schau mal nach, ob noch irgendwelche Leerzeichen am Ende von Zeile 2 bzw. am Anfang von Zeile 3 sind. Evtl. fehlt auch das Leerzeichen zwischen "install" und "" in Zeile 2. Das war bei mir der Grund.
 
OP
A

ahab

Newbie
Danke, ne Lehrzeile war der Fehler, und jetzt downloaded er (der Computer) schon die Packages.

hier noch meine abgeänderten apt.conf und gpg.checker.conf. Vielleicht kann mal noch einer drüberschauen, ob alles OK ist-
Merci beaucoup!!

apt.conf:

// with "apt-config dump" all settings can be viewed

Acquire::CDROM::Copy "true";

Debug
{
pkgRPMPM "false";
}

RPM
{
// Hold (do not update) a list with pkgs:
// Hold { "k_deflt"; "sane"; };
// Leave list empty to disable
// Hold { "k-deflt"; };
Hold { };
Ignore {"gpg-pubkey"; };

Options { };
Install-Options "";
Erase-Options "";
Source {
Build-Command "rpmbuild --rebuild";
};
}

// Directory layout
Dir "/"
{
// Location of the state dir
State "local/state/apt/"
{
lists "lists-9.2/";
status "/local/status";
...
};

// Location of the cache dir
Cache "local/cache/apt/" {
archives "archives-9.2/";
srcpkgcache "srcpkgcache-9.2.bin";
pkgcache "pkgcache-9.2.bin";
};
...
};

gpg.checker.conf:

// Make GPG::Check no; to disable gpg checking
// It can still be used in combination with --checksig
GPG::Check false;
Scripts::pM::pre:: gpg-checker.lua;
 
Oben