How are packages upgraded between UPs?

Archived topics about LMDE 1 and LMDE 2
Locked
dezo

How are packages upgraded between UPs?

Post by dezo »

Hello,
I'd like to know which way the packages get upgraded between update packs. Regular packages like kernel etc. are upgraded fine. However packages I installed manually get removed, however the files stay at their locations.
Example: I installed hugin while having UP5. After upgrade to UP6 I have this:

Code: Select all

$ dpkg -l hugin
dpkg-query: no packages found matching hugin
$ which hugin
/usr/bin/hugin
$ dpkg -S /usr/bin/hugin
dpkg-query: no path found matching pattern /usr/bin/hugin
How is that possible? Why is hugin not upgraded, packages removed but the binaries stay there?

Thanks!
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
dezo

Re: How are packages upgraded between UPs?

Post by dezo »

Anyone? I'd like to resolve this before UP7 comes...
zerozero

Re: How are packages upgraded between UPs?

Post by zerozero »

dezo wrote:However packages I installed manually
manually how? self-compilation? external deb?
apt-cache policy can track it down? it seems that APT isn't aware of its presence.
dezo

Re: How are packages upgraded between UPs?

Post by dezo »

No, manually

Code: Select all

apt-get install hugin
No self-compilation, no external debs, just sources.list:

Code: Select all

$ cat /etc/apt/sources.list
deb http://packages.linuxmint.com/ debian main upstream import
deb http://tux.rainside.sk/mint/debian/latest testing main contrib non-free
deb http://tux.rainside.sk/mint/debian/latest/security testing/updates main contrib non-free
deb http://tux.rainside.sk/mint/debian/latest/multimedia testing main non-free

$ ls /etc/apt/sources.list.d/
$ 
Btw,

Code: Select all

$ dpkg -S /etc/apt/sources.list
dpkg-query: no path found matching pattern /etc/apt/sources.list
Is this normal?
What do you mean with apt-cache policy?

Code: Select all

$ apt-cache showpkg hugin
Package: hugin
Versions: 
2011.4.0+dfsg-5 (/var/lib/apt/lists/tux.rainside.sk_mint_debian_latest_dists_testing_main_binary-amd64_Packages)
 Description Language: 
                 File: /var/lib/apt/lists/tux.rainside.sk_mint_debian_latest_dists_testing_main_binary-amd64_Packages
                  MD5: b04a24e80b085f6f5795ae3233897099
 Description Language: en
                 File: /var/lib/apt/lists/tux.rainside.sk_mint_debian_latest_dists_testing_main_i18n_Translation-en
                  MD5: b04a24e80b085f6f5795ae3233897099


Reverse Depends: 
  hugin:i386,hugin
  enfuse,hugin
  enfuse,hugin
  enblend,hugin
  enblend,hugin
  kipi-plugins,hugin
  education-graphics,hugin
Dependencies: 
2011.4.0+dfsg-5 - hugin-tools (5 2011.4.0+dfsg-5) enblend (2 3.2) enfuse (0 (null)) libimage-exiftool-perl (0 (null)) make (0 (null)) libboost-signals1.49.0 (2 1.49.0-1) libboost-system1.49.0 (2 1.49.0-1) libboost-thread1.49.0 (2 1.49.0-1) libc6 (2 2.4) libexiv2-12 (0 (null)) libgcc1 (2 1:4.1.1) libgl1-mesa-glx (16 (null)) libgl1 (0 (null)) libglew1.7 (2 1.7.0) libglu1-mesa (16 (null)) libglu1 (0 (null)) libpano13-2 (2 2.9.18) libstdc++6 (2 4.6) libtiff4 (4 3.9.5-3~) libwxbase2.8-0 (2 2.8.12.1) libwxgtk2.8-0 (2 2.8.12.1) hugin-bin (3 0.7.0~svn) hugin-bin:i386 (3 0.7.0~svn) hugin-bin (3 0.7.0~svn) hugin-bin:i386 (3 0.7.0~svn) hugin-data (3 0.7.0~svn) hugin-data:i386 (3 0.7.0~svn) hugin-tools (3 0.7.0~svn) hugin-tools:i386 (3 0.7.0~svn) hugin:i386 (0 (null)) 
Provides: 
2011.4.0+dfsg-5 - 
Reverse Provides: 
So do I expect right that installed packages should be upgraded with the currently being installed update pack?
DrHu

Re: How are packages upgraded between UPs?

Post by DrHu »

If you intend to manually install packages, it will help if you also use checkinstall,
https://wiki.debian.org/CheckInstall

If you are using a *.deb file (packaged), then gdebi or synaptic as the installer will also give you the list of dependencies and tghe location of installed files
--removing the leftover bits of file locations would require a purge command, to clean them out..

That condition is similar to a windows OS that retains leftover bits of application installs in the registry: it doesn't remove every item, when tghe application is uninstalled (removed).
--I don't know how MAC handles it, but I expect a similar problem (crud in the system).
dezo

Re: How are packages upgraded between UPs?

Post by dezo »

Guys, no manual installing of packages. Everything via apt-get.
zerozero

Re: How are packages upgraded between UPs?

Post by zerozero »

sorry for not being completely clear before :oops:
what i was asking was for the output of

Code: Select all

apt-cache policy hugin
or

Code: Select all

dpkg -l hugin
===
dezo wrote:Btw,

Code: Select all

 $ dpkg -S /etc/apt/sources.list
    dpkg-query: no path found matching pattern /etc/apt/sources.list

Is this normal?
yes, dpkg -S queries files in the installed packages

Code: Select all

dpkg-query actions
              See dpkg-query(1) for more information about the following actions.

              -l, --list package-name-pattern...
                  List packages matching given pattern.
              -s, --status package-name...
                  Report status of specified package.
              -L, --listfiles package-name...
                  List files installed to your system from package-name.
              -S, --search filename-search-pattern...
                  Search for a filename from installed packages.
              -p, --print-avail package-name...
                  Display details about package-name, as found in
                  /var/lib/dpkg/available. Users of APT-based frontends
                  should use apt-cache show package-name instead.

Code: Select all

man dpkg
dezo

Re: How are packages upgraded between UPs?

Post by dezo »

Code: Select all

$ apt-cache policy hugin
hugin:
  Installed: (none)
  Candidate: 2011.4.0+dfsg-5
  Version table:
     2011.4.0+dfsg-5 0
        500 http://tux.rainside.sk/mint/debian/latest/ testing/main amd64 Packages
dpkg -l in the first post.

(I only expected sources.list to belong to some package.)
dezo

Re: How are packages upgraded between UPs?

Post by dezo »

Anyone knows where the problem is?
Monsta
Level 10
Level 10
Posts: 3071
Joined: Fri Aug 19, 2011 3:46 am

Re: How are packages upgraded between UPs?

Post by Monsta »

I don't think it's some kind of systematic problem (as the thread's title implies).
Are there [url=http://packages.debian.org/wheezy/amd64/hugin/filelist]any other files[/url] from that package left in your system?
dezo

Re: How are packages upgraded between UPs?

Post by dezo »

I'll check in the evening CEST. But this does not involve hugin only. The same for openttd (and probably others which I haven't found out yet).
dezo

Re: How are packages upgraded between UPs?

Post by dezo »

Code: Select all

$ dpkg -S /usr/bin/nona_gui 
dpkg-query: no path found matching pattern /usr/bin/nona_gui
$ dpkg -S /usr/share/menu/hugin 
dpkg-query: no path found matching pattern /usr/share/menu/hugin
$ dpkg -S /usr/share/mime/packages/hugin.xml 
dpkg-query: no path found matching pattern /usr/share/mime/packages/hugin.xml
$ dpkg -S /usr/share/doc/hugin/copyright 
dpkg-query: no path found matching pattern /usr/share/doc/hugin/copyright
So what is it caused by?
dezo

Re: How are packages upgraded between UPs?

Post by dezo »

In fact I can easily find all those "weird" (not)installed packages:

Code: Select all

$ for f in /usr/bin/*; do [ -L $f ] || dpkg -S $f >/dev/null; done
dpkg-query: no path found matching pattern /usr/bin/alacarte
dpkg-query: no path found matching pattern /usr/bin/align_image_stack
dpkg-query: no path found matching pattern /usr/bin/aot-compile
dpkg-query: no path found matching pattern /usr/bin/audacity
dpkg-query: no path found matching pattern /usr/bin/autooptimiser
dpkg-query: no path found matching pattern /usr/bin/autopano-noop
dpkg-query: no path found matching pattern /usr/bin/baobab
dpkg-query: no path found matching pattern /usr/bin/blueman-adapters
dpkg-query: no path found matching pattern /usr/bin/blueman-applet
dpkg-query: no path found matching pattern /usr/bin/blueman-assistant
dpkg-query: no path found matching pattern /usr/bin/blueman-browse
dpkg-query: no path found matching pattern /usr/bin/blueman-manager
dpkg-query: no path found matching pattern /usr/bin/blueman-sendto
dpkg-query: no path found matching pattern /usr/bin/blueman-services
dpkg-query: no path found matching pattern /usr/bin/caca-config
dpkg-query: no path found matching pattern /usr/bin/calibrate_lens_gui
dpkg-query: no path found matching pattern /usr/bin/ccmakedep
dpkg-query: no path found matching pattern /usr/bin/celeste_standalone
dpkg-query: no path found matching pattern /usr/bin/checkinstall
dpkg-query: no path found matching pattern /usr/bin/checkpto
dpkg-query: no path found matching pattern /usr/bin/chrpath
dpkg-query: no path found matching pattern /usr/bin/cleanlinks
dpkg-query: no path found matching pattern /usr/bin/cpclean
dpkg-query: no path found matching pattern /usr/bin/cpfind
dpkg-query: no path found matching pattern /usr/bin/cpp-4.5
dpkg-query: no path found matching pattern /usr/bin/cpufreq-selector
dpkg-query: no path found matching pattern /usr/bin/deghosting_mask
dpkg-query: no path found matching pattern /usr/bin/dh_gtkmodules
dpkg-query: no path found matching pattern /usr/bin/dh_nativejava
dpkg-query: no path found matching pattern /usr/bin/directfb-config
dpkg-query: no path found matching pattern /usr/bin/directfb-csource
dpkg-query: no path found matching pattern /usr/bin/dm-tool
dpkg-query: no path found matching pattern /usr/bin/enblend
dpkg-query: no path found matching pattern /usr/bin/enblend-mp
dpkg-query: no path found matching pattern /usr/bin/enfuse
dpkg-query: no path found matching pattern /usr/bin/enfuse-mp
dpkg-query: no path found matching pattern /usr/bin/eog
dpkg-query: no path found matching pattern /usr/bin/exiftool
dpkg-query: no path found matching pattern /usr/bin/extlinux
dpkg-query: no path found matching pattern /usr/bin/fidentify
dpkg-query: no path found matching pattern /usr/bin/flac
dpkg-query: no path found matching pattern /usr/bin/fulla
dpkg-query: no path found matching pattern /usr/bin/gcalccmd
dpkg-query: no path found matching pattern /usr/bin/gcalctool
dpkg-query: no path found matching pattern /usr/bin/gcc-4.5
dpkg-query: no path found matching pattern /usr/bin/gccmakedep
dpkg-query: no path found matching pattern /usr/bin/gcov-4.5
dpkg-query: no path found matching pattern /usr/bin/gdmflexiserver
dpkg-query: no path found matching pattern /usr/bin/gdm-screenshot
dpkg-query: no path found matching pattern /usr/bin/gedit
dpkg-query: no path found matching pattern /usr/bin/gethostip
dpkg-query: no path found matching pattern /usr/bin/gmrun
dpkg-query: no path found matching pattern /usr/bin/gnome-contacts
dpkg-query: no path found matching pattern /usr/bin/gnome-desktop-item-edit
dpkg-query: no path found matching pattern /usr/bin/gnome-dictionary
dpkg-query: no path found matching pattern /usr/bin/gnome-doc-prepare
dpkg-query: no path found matching pattern /usr/bin/gnome-doc-tool
dpkg-query: no path found matching pattern /usr/bin/gnome-font-viewer
dpkg-query: no path found matching pattern /usr/bin/gnome-nettool
dpkg-query: no path found matching pattern /usr/bin/gnome-panel
dpkg-query: no path found matching pattern /usr/bin/gnome-search-tool
dpkg-query: no path found matching pattern /usr/bin/gnome-session-fallback
dpkg-query: no path found matching pattern /usr/bin/gnome-shell
dpkg-query: no path found matching pattern /usr/bin/gnome-shell-extension-tool
dpkg-query: no path found matching pattern /usr/bin/gnome-system-log
dpkg-query: no path found matching pattern /usr/bin/gnome-system-monitor
dpkg-query: no path found matching pattern /usr/bin/gnome-thumbnail-font
dpkg-query: no path found matching pattern /usr/bin/gnome-tweak-tool
dpkg-query: no path found matching pattern /usr/bin/gnome-wm
dpkg-query: no path found matching pattern /usr/bin/gsmartcontrol
dpkg-query: no path found matching pattern /usr/bin/gsmartcontrol-root
dpkg-query: no path found matching pattern /usr/bin/gtk-builder-convert
dpkg-query: no path found matching pattern /usr/bin/gtk-chtheme
dpkg-query: no path found matching pattern /usr/bin/gtk-theme-switch2
dpkg-query: no path found matching pattern /usr/bin/hugin
dpkg-query: no path found matching pattern /usr/bin/hugin_hdrmerge
dpkg-query: no path found matching pattern /usr/bin/hugin_stitch_project
dpkg-query: no path found matching pattern /usr/bin/icpfind
dpkg-query: no path found matching pattern /usr/bin/imake
dpkg-query: no path found matching pattern /usr/bin/inspectsocks
dpkg-query: no path found matching pattern /usr/bin/installwatch
dpkg-query: no path found matching pattern /usr/bin/invest-chart
dpkg-query: no path found matching pattern /usr/bin/isohybrid
dpkg-query: no path found matching pattern /usr/bin/isohybrid.pl
dpkg-query: no path found matching pattern /usr/bin/linefind
dpkg-query: no path found matching pattern /usr/bin/lndir
dpkg-query: no path found matching pattern /usr/bin/lss16toppm
dpkg-query: no path found matching pattern /usr/bin/magnifier
dpkg-query: no path found matching pattern /usr/bin/makedepend
dpkg-query: no path found matching pattern /usr/bin/makeg
dpkg-query: no path found matching pattern /usr/bin/matchpoint
dpkg-query: no path found matching pattern /usr/bin/mateconf-editor
dpkg-query: no path found matching pattern /usr/bin/md5pass
dpkg-query: no path found matching pattern /usr/bin/mediainfo
dpkg-query: no path found matching pattern /usr/bin/memdiskfind
dpkg-query: no path found matching pattern /usr/bin/mergelib
dpkg-query: no path found matching pattern /usr/bin/metaflac
dpkg-query: no path found matching pattern /usr/bin/mkdirhier
dpkg-query: no path found matching pattern /usr/bin/mkdiskimage
dpkg-query: no path found matching pattern /usr/bin/mkhtmlindex
dpkg-query: no path found matching pattern /usr/bin/nautilus-actions-config-tool
dpkg-query: no path found matching pattern /usr/bin/nautilus-actions-new
dpkg-query: no path found matching pattern /usr/bin/nautilus-actions-print
dpkg-query: no path found matching pattern /usr/bin/nautilus-actions-run
dpkg-query: no path found matching pattern /usr/bin/nautilus-sendto
dpkg-query: no path found matching pattern /usr/bin/network-admin
dpkg-query: no path found matching pattern /usr/bin/nona
dpkg-query: no path found matching pattern /usr/bin/nona_gui
dpkg-query: no path found matching pattern /usr/bin/normalize-audio
dpkg-query: no path found matching pattern /usr/bin/normalize-mp3
dpkg-query: no path found matching pattern /usr/bin/obexautofs
dpkg-query: no path found matching pattern /usr/bin/obexfs
dpkg-query: no path found matching pattern /usr/bin/obexftp
dpkg-query: no path found matching pattern /usr/bin/obexftpd
dpkg-query: no path found matching pattern /usr/bin/ogg123
dpkg-query: no path found matching pattern /usr/bin/oggdec
dpkg-query: no path found matching pattern /usr/bin/oggenc
dpkg-query: no path found matching pattern /usr/bin/ogginfo
dpkg-query: no path found matching pattern /usr/bin/palimpsest
dpkg-query: no path found matching pattern /usr/bin/panel-test-applets
dpkg-query: no path found matching pattern /usr/bin/panoinfo
dpkg-query: no path found matching pattern /usr/bin/pano_modify
dpkg-query: no path found matching pattern /usr/bin/pano_trafo
dpkg-query: no path found matching pattern /usr/bin/photorec
dpkg-query: no path found matching pattern /usr/bin/ppmtolss16
dpkg-query: no path found matching pattern /usr/bin/PTBatcher
dpkg-query: no path found matching pattern /usr/bin/PTBatcherGUI
dpkg-query: no path found matching pattern /usr/bin/PTblender
dpkg-query: no path found matching pattern /usr/bin/PTcrop
dpkg-query: no path found matching pattern /usr/bin/PTinfo
dpkg-query: no path found matching pattern /usr/bin/PTmasker
dpkg-query: no path found matching pattern /usr/bin/PTmender
dpkg-query: no path found matching pattern /usr/bin/pto2mk
dpkg-query: no path found matching pattern /usr/bin/pto_merge
dpkg-query: no path found matching pattern /usr/bin/PToptimizer
dpkg-query: no path found matching pattern /usr/bin/PTroller
dpkg-query: no path found matching pattern /usr/bin/PTtiff2psd
dpkg-query: no path found matching pattern /usr/bin/PTtiffdump
dpkg-query: no path found matching pattern /usr/bin/PTuncrop
dpkg-query: no path found matching pattern /usr/bin/pxelinux-options
dpkg-query: no path found matching pattern /usr/bin/qtconfig-qt4
dpkg-query: no path found matching pattern /usr/bin/rdesktop
dpkg-query: no path found matching pattern /usr/bin/rebuild-gcj-db
dpkg-query: no path found matching pattern /usr/bin/revpath
dpkg-query: no path found matching pattern /usr/bin/rtmpdump
dpkg-query: no path found matching pattern /usr/bin/saveme
dpkg-query: no path found matching pattern /usr/bin/sdl-config
dpkg-query: no path found matching pattern /usr/bin/services-admin
dpkg-query: no path found matching pattern /usr/bin/sha1pass
dpkg-query: no path found matching pattern /usr/bin/shares-admin
dpkg-query: no path found matching pattern /usr/bin/sound-juicer
dpkg-query: no path found matching pattern /usr/bin/syslinux
dpkg-query: no path found matching pattern /usr/bin/syslinux2ansi
dpkg-query: no path found matching pattern /usr/bin/tca_correct
dpkg-query: no path found matching pattern /usr/bin/testdisk
dpkg-query: no path found matching pattern /usr/bin/texi2html
dpkg-query: no path found matching pattern /usr/bin/time-admin
dpkg-query: no path found matching pattern /usr/bin/tsocks
dpkg-query: no path found matching pattern /usr/bin/unetbootin
dpkg-query: no path found matching pattern /usr/bin/users-admin
dpkg-query: no path found matching pattern /usr/bin/validateconf
dpkg-query: no path found matching pattern /usr/bin/vcut
dpkg-query: no path found matching pattern /usr/bin/vig_optimize
dpkg-query: no path found matching pattern /usr/bin/vinagre
dpkg-query: no path found matching pattern /usr/bin/vorbiscomment
dpkg-query: no path found matching pattern /usr/bin/vorbistagedit
dpkg-query: no path found matching pattern /usr/bin/Xephyr
dpkg-query: no path found matching pattern /usr/bin/xmkmf
dpkg-query: no path found matching pattern /usr/bin/xml2po
dpkg-query: no path found matching pattern /usr/bin/yasm
dpkg-query: no path found matching pattern /usr/bin/ytasm
Monsta
Level 10
Level 10
Posts: 3071
Joined: Fri Aug 19, 2011 3:46 am

Re: How are packages upgraded between UPs?

Post by Monsta »

Wow, that's a lot. I haven't seen this problem before. Have you installed all the corresponding packages manually, as you mentioned in the first post?
dezo

Re: How are packages upgraded between UPs?

Post by dezo »

I don't think so... But those can be prerequisities of packages I installed manually.
I have 3 machines running the same UP of LMDE and only this one is screwed this way. Don't know how it happened...
I'll probably reinstall it from scratch as soon as UP7 arrives.
realitykid

Re: How are packages upgraded between UPs?

Post by realitykid »

dezo wrote:I don't think so... But those can be prerequisities of packages I installed manually.
I have 3 machines running the same UP of LMDE and only this one is screwed this way. Don't know how it happened...
I'll probably reinstall it from scratch as soon as UP7 arrives.
Assuming an UP7 ever arrives.
dezo

Re: How are packages upgraded between UPs?

Post by dezo »

Why wouldn't it happen?
Crewp

Re: How are packages upgraded between UPs?

Post by Crewp »

Hang in there, UP 7 is on it's way
Locked

Return to “LMDE Archive”