[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#2828: have to install xosview twice to work



Package: dpkg
Version: 1.1.5elf

I noticed I made mistake with my xosview package: I put the executable
in /usr/bin/X11/xosview. Now I've made a new xosview release, with
the executable in /usr/X11R6/bin/xosview. If I now install the
new xosview-1.3.2-3.deb, there's nothing in /usr/X11R6/bin/xosview. However,
if I repeat the same dpkg -i command, xosview suddenly turns up!

(starting from no xosview-1.3.2-2:)
# ls -al /usr/bin/X11/xosview
-rwxr-xr-x   1 root     root        58013 Apr 21 14:14 /usr/bin/X11/xosview
# dpkg -i xosview-1.3.2-3.i386.deb
(Reading database ... 24393 files and directories currently installed.)
Preparing to replace xosview (using xosview-1.3.2-3.i386.deb) ...
Unpacking replacement xosview ...
Setting up xosview ...
# ls -al /usr/bin/X11/xosview
ls: /usr/bin/X11/xosview: No such file or directory
# ls -al /usr/X11R6/bin/xosview
ls: /usr/X11R6/bin/xosview: No such file or directory

# dpkg -i xosview-1.3.2-3.i386.deb
(Reading database ... 24393 files and directories currently installed.)
Preparing to replace xosview (using xosview-1.3.2-3.i386.deb) ...
Unpacking replacement xosview ...
Setting up xosview ...
# ls -al /usr/X11R6/bin/xosview
-rwxr-xr-x   1 root     root        57949 Apr 26 21:26 /usr/X11R6/bin/xosview


# dpkg -c xosview-1.3.2-2.deb
drwxr-xr-x root/root         0 Apr 21 14:14 1996 ./
drwxr-xr-x root/root         0 Apr 21 14:14 1996 usr/
drwxr-xr-x root/root         0 Apr 21 14:14 1996 usr/bin/
drwxr-xr-x root/root         0 Apr 21 14:14 1996 usr/bin/X11/
-rwxr-xr-x root/root     58013 Apr 21 14:14 1996 usr/bin/X11/xosview
drwxr-xr-x root/root         0 Apr 21 14:14 1996 usr/doc/
drwxr-xr-x root/root         0 Apr 21 14:14 1996 usr/doc/xosview/
-rw-r--r-- root/root       741 Apr 21 14:14 1996 usr/doc/xosview/README
-rw-r--r-- root/root      1108 Apr 21 14:14 1996 usr/doc/xosview/Xdefaults
drwxr-xr-x root/root         0 Apr 21 14:14 1996 usr/doc/copyright/
-rw-r--r-- root/root      1085 Apr 21 14:14 1996 usr/doc/copyright/xosview
drwxr-xr-x root/root         0 Apr 21 14:14 1996 usr/X11R6/
drwxr-xr-x root/root         0 Apr 21 14:14 1996 usr/X11R6/lib/
drwxr-xr-x root/root         0 Apr 21 14:14 1996 usr/X11R6/lib/X11/
drwxr-xr-x root/root         0 Apr 21 14:14 1996 usr/X11R6/lib/X11/app-defaults/
-rw-r--r-- root/root      1108 Apr 21 14:14 1996 usr/X11R6/lib/X11/app-defaults/XOSView
drwxr-xr-x root/root         0 Apr 21 14:14 1996 usr/X11R6/man/
drwxr-xr-x root/root         0 Apr 21 14:14 1996 usr/X11R6/man/man1/
-rw-r--r-- root/root      4962 Apr 21 14:14 1996 usr/X11R6/man/man1/xosview.1


# dpkg -c xosview-1.3.2-3.i386.deb
drwxr-xr-x root/root         0 Apr 26 21:26 1996 ./
drwxr-xr-x root/root         0 Apr 26 21:26 1996 usr/
drwxr-xr-x root/root         0 Apr 26 21:26 1996 usr/X11R6/
drwxr-xr-x root/root         0 Apr 26 21:26 1996 usr/X11R6/bin/
-rwxr-xr-x root/root     57949 Apr 26 21:26 1996 usr/X11R6/bin/xosview
drwxr-xr-x root/root         0 Apr 26 21:26 1996 usr/X11R6/lib/
drwxr-xr-x root/root         0 Apr 26 21:26 1996 usr/X11R6/lib/X11/
drwxr-xr-x root/root         0 Apr 26 21:26 1996 usr/X11R6/lib/X11/app-defaults/
-rw-r--r-- root/root      1108 Apr 26 21:26 1996 usr/X11R6/lib/X11/app-defaults/XOSView
drwxr-xr-x root/root         0 Apr 26 21:26 1996 usr/X11R6/man/
drwxr-xr-x root/root         0 Apr 26 21:26 1996 usr/X11R6/man/man1/
-rw-r--r-- root/root      4962 Apr 26 21:26 1996 usr/X11R6/man/man1/xosview.1
drwxr-xr-x root/root         0 Apr 26 21:26 1996 usr/doc/
drwxr-xr-x root/root         0 Apr 26 21:26 1996 usr/doc/xosview/
-rw-r--r-- root/root       741 Apr 26 21:26 1996 usr/doc/xosview/README
-rw-r--r-- root/root      1108 Apr 26 21:26 1996 usr/doc/xosview/Xdefaults
drwxr-xr-x root/root         0 Apr 26 21:26 1996 usr/doc/copyright/
-rw-r--r-- root/root      1081 Apr 26 21:26 1996 usr/doc/copyright/xosview


(BTW, xosview-1.3.2-3.i386.deb has been for a couple of on master's
incomming, untill I noticed it. For the interested, I've put a copy of it on
ftp://rulcmc.leidenuniv.nl/joost/xosview-1.3.2-3.i386.deb
along with the old version, so you can play around with them)

Or am I doing something VERY wrong?

Thanks,


--
joost witteveen
            joost@rulcmc.leidenuniv.nl
          joostje@debian.org
--
Use Debian Linux!


Reply to: