Announcement

Collapse
No announcement yet.

Locking a package

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

    Locking a package

    I am trying to lock a package, I went to Muon package manager and locked it. However when i use muon or update manager to update kubuntu, it still brings up the 'locked' package, and lets/recommends I update it. I found a command online to lock the package, but that also doesn't work:

    jamie@jamie-Inspiron-7520:~$ sudo -s echo xserver-xorg-video-intel hold | dpkg --set-selections
    dpkg: error: operation requires read/write access to dpkg status area
    [sudo] password for jamie:
    jamie@jamie-Inspiron-7520:~$ sudo -s echo xserver-xorg-video-intel hold | dpkg --set-selections
    dpkg: error: operation requires read/write access to dpkg status area

    #2
    The command format is incorrect. Here's the proper way using echo:
    Code:
    echo "xserver-xorg-video-intel hold" | sudo dpkg --set-selections
    The version of the command you typed would elevate to run echo, but not elevate to run dpkg. It's really dpkg that needs to run elevated.

    But there's a better way, that requires less typing:
    Code:
    sudo apt-mark hold xserver-xorg-video-intel
    - - -

    What problem are you encountering that makes you think holding the Intel driver is the right solution?

    Comment


      #3
      I was having a problem with hybrid ati and intel graphics cards, which was fixed following these instructions:
      http://askubuntu.com/questions/20511.../288355#288355
      That page contains a link to an intel video driver i installed

      The people in this thread says I shouldn't update to the newest one:
      http://ubuntuforums.org/showthread.p...6#post12641846

      Comment


        #4
        Ah. I have zero experience with anything AMD-related, so I suggest you follow the advice you've found.

        Comment


          #5
          Ok will do, thanks

          Comment

          Working...
          X