Page 1 of 3 123 LastLast
Results 1 to 10 of 26

Thread: Cannot deactivate update sources

  1. #1
    Join Date
    Jun 2015
    Beans
    68

    Cannot deactivate update sources

    Hello,
    Can't uncheck "brown" boxes.
    Why ?
    Thanks.

  2. #2
    Join Date
    Mar 2010
    Location
    Squidbilly-Land
    Beans
    19,744
    Distro
    Ubuntu Mate 16.04 Xenial Xerus

    Re: Cannot deactivate update sources

    Just a guess, but have all the packages from those repos been uninstalled from the system?
    i don't use any gui for package management.

  3. #3
    Join Date
    Jun 2015
    Beans
    68

    Re: Cannot deactivate update sources

    No, for the moment they are still present.
    I'm looking for a way to rid my system of NVIDIA staff (drivers, CUDA, cuDNN).
    I haven't paid much attention to version compatibility and in fact my system is contaminated by NVIDIA staff.
    The two last items on the image are related to either CUDA either NVIDIA driver ... I don't know yet.
    For example in second from the bottom item the number 440.33.01 corresponds to NVIDIA driver version whereas 10-2 corresponds to CUDA version.
    The same for bottom item: 418.87.00 - corresponds to driver, and 10-1 to CUDA.
    Note that I only have CUDA 10.2 installed, but not CUDA 10.1.

  4. #4
    Join Date
    Jun 2015
    Beans
    68

    Re: Cannot deactivate update sources

    I succeeded to uninstall whole NVIDIA staff.
    But the items on the image from the screenshot on my 1st message didn't disappear.
    What does it mean ? The drivers aren't completely uninstalled ?
    I plan to reinstall NVIDIA tools and am afraid that this will perturb installation or functionality of NVIDIA tools.
    How to remove them ?

  5. #5
    Join Date
    Mar 2010
    Location
    Squidbilly-Land
    Beans
    19,744
    Distro
    Ubuntu Mate 16.04 Xenial Xerus

    Re: Cannot deactivate update sources

    All repos are configured in text files under /etc/apt/.
    You can comment out the offending lines. Do not delete them. Make a backup of any files BEFORE you alter them.

    sources.list
    and any files in /etc/apt/sources.list.d/ should be checked.

    After modifying, run
    Code:
    sudo apt update
    If that finishes without error or warnings, then run:
    Code:
    sudo apt upgrade
    Do not have any other software update tool open/running at the same time your run those commands.

    If any packages from the commented out lines are still installed on the system, you'll be in "APT HELL" and updates will fail going forward due to unresolved dependencies. In a few months, nothing will update. So be extremely careful to only get the correct lines.

  6. #6
    Join Date
    Jun 2015
    Beans
    68

    Re: Cannot deactivate update sources

    Thanks.
    There are only one text file under /etc/apt/: source.list.
    I checked it and I did not find any of the 3 items shown on the screenshot of my first message.
    On the other side I've found 3 .list files in /etc/apt/sources.list.d/ that correspond to the 3 items shown on the screenshot of my first message.
    So, what should I comment/modify ?

  7. #7
    Join Date
    Jun 2015
    Beans
    68

    Re: Cannot deactivate update sources

    Quote Originally Posted by TheFu View Post
    All repos are configured in text files under /etc/apt/.
    You can comment out the offending lines. Do not delete them. Make a backup of any files BEFORE you alter them.
    In the only text file in the specified location (i.e. file sources.list located in /etc/apt/) there are no offending lines.
    However there are files that sound like "offending". These 3 files are located in /etc/apt/sources.list.d:
    Code:
    pavel@ALABAMA:/etc/apt/sources.list.d$ ls -la
    total 24
    drwxr-xr-x 2 root root 4096 mars  11 15:24 .
    drwxr-xr-x 7 root root 4096 mars  11 15:24 ..
    -rw-r--r-- 1 root root   58 mars   2 14:00 cuda-10-1-local-10.1.243-418.87.00.list
    -rw-r--r-- 1 root root   58 mars   2 14:00 cuda-10-1-local-10.1.243-418.87.00.list.save
    -rw-r--r-- 1 root root   57 nov.  13 23:40 cuda-10-2-local-10.2.89-440.33.01.list
    -rw-r--r-- 1 root root  144 mars   2 14:00 graphics-drivers-ubuntu-ppa-bionic.list
    Should I rename or remove them ?

    Thanks.

  8. #8
    Join Date
    Jan 2006
    Location
    Sunny Southend-on-Sea
    Beans
    7,609
    Distro
    Kubuntu 18.04 Bionic Beaver

    Re: Cannot deactivate update sources

    One of the ways of installing CUDA from Nvidia is to create a local repository of the CUDA packages, and then install from there. That appears to be what you've done. You can either uninstall the package that you used to set up those local repositories (you appear to have done it twice) which should also remove those files and the apt entries, or you can remove all the CUDA stuff (which you say you've done already) and then simply delete the local repositories (the /var/cuda-repo stuff) and the corresponding sources.list.d entries.
    None but ourselves can free our minds

  9. #9
    Join Date
    Mar 2010
    Location
    Squidbilly-Land
    Beans
    19,744
    Distro
    Ubuntu Mate 16.04 Xenial Xerus

    Re: Cannot deactivate update sources

    Quote Originally Posted by py-ohayo View Post
    Should I rename or remove them ?

    Thanks.
    You should .... do what was suggested previously.
    comment out the offending lines. Do not delete them. Make a backup of any files BEFORE you alter them.

  10. #10
    Join Date
    Mar 2010
    Location
    undisclosed
    Beans
    542
    Distro
    Ubuntu Studio

    Re: Cannot deactivate update sources

    As to your first question - I ran into this on a friends computer. Turns out, he was not the Administrator.
    Went into Users/Groups and changed him to Administrator, Problem solved.
    Did you check? Just saying!

Page 1 of 3 123 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •