Announcement

Collapse
No announcement yet.

nuke cryptsetup patch and problems with apt-get upgrade

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    nuke cryptsetup patch and problems with apt-get upgrade

    I applied nuke patch to cryptsetup as is explained here http://www.kali.org/how-to/emergency...ion-luks-kali/
    I patched and installed cryptsetup-bin and libcryptsetup4.
    Now when I run apt-get upgrade or Muon Update Manager it gives me those libraries tu upgrade. Why?
    That would probably reset packages to repository no-patch versions?
    What should I do to avoid those packages appearing in apt-get upgrade or Muon Update Manager?

    #2
    Where did you get the packages for cryptsetup-bin and libcryptsetup4? Muon is wanting to upgrade them as their are either newer versions available from Ubuntu, or the ones you installed are non-ubuntu packages, and are named in such a way that they look older to ubuntu, or th.e ones built are named in such a way that they look older to Ubuntu. You can 'pin' these packages to keep them from being updated in Muon. Find your package in Muon, right-click it, and select "lock at current version"


    Also, to note in Ubuntu, use dist-upgrade instead of upgrade in the terminal. (Muon does this already)

    Comment


      #3
      I got the packages from apt-get source cryptsetup with default software sources.
      I patched it with patch and done dpkg-buildpackage then dpkg -i
      They are named same as original packages.
      It happens nothing when I right-click on a package in muon updater.

      Comment


        #4
        Package managers

        The Muon package manager (*) and the Synaptic package manager have the option to pin/hold packages.

        (*) There are many kind of Muons: Muon package manager, Muon Discovery, Muon Update Manager, ...


        Ubuntu documents

        Pinning Howto: https://help.ubuntu.com/community/PinningHowto
        Introduction to Holding Packages
        Holding a package basically means you're telling the package manager to keep the current version no matter what. This is useful if more recent version of a currently working program breaks after an update.

        The following will describe the process of actually holding the package, there are several options to accomplish this:...


        older: https://www.kubuntuforums.net/showth...cking-packages
        A good place to start: Topic: Top 20 Kubuntu FAQs & Answers
        Searching FAQ's: Google Search 'FAQ from Kubuntuforums'

        Comment


          #5
          Rog132 thank you for that link, hold option solved the issue.

          sudo apt-mark hold cryptsetup-bin
          sudo apt-mark hold cryptsetup
          sudo apt-mark hold libcryptsetup-dev
          sudo apt-mark hold libcryptsetup4

          Started the Muon Update Manager and packages are not there to update. Super!

          Comment

          Working...
          X