Results 1 to 4 of 4

Thread: Trying to re-install gimp

  1. #1
    Join Date
    Sep 2007

    Trying to re-install gimp

    I had some problems trying to clean up my desktop. Below is what happened when I tried to update.

    greg@gregdown:~$ sudo apt update
    [sudo] password for greg: 
    Ign:1 cdrom://Ubuntu 20.04.1 LTS _Focal Fossa_ - Release amd64 (20200731) focal InRelease
    Err:2 cdrom://Ubuntu 20.04.1 LTS _Focal Fossa_ - Release amd64 (20200731) focal Release
      Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs
    Hit:3 stable InRelease
    Hit:4 focal InRelease                      
    Get:5 focal-security InRelease [109 kB]      
    Get:6 focal-updates InRelease [114 kB]     
    Hit:7 focal InRelease             
    Hit:8 focal InRelease                      
    Get:9 focal-backports InRelease [101 kB]   
    Hit:10 focal InRelease
    Hit:11 focal InRelease
    Hit:12 focal InRelease
    Hit:13 focal InRelease
    Hit:14 focal InRelease
    Reading package lists... Done
    E: The repository 'cdrom://Ubuntu 20.04.1 LTS _Focal Fossa_ - Release amd64 (20200731) focal Release' does not have a Release file.
    N: Updating from such a repository can't be done securely, and is therefore disabled by default.
    N: See apt-secure(8) manpage for repository creation and user configuration details.
    greg@gregdown:~$ sudo apt upgrade
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    Calculating upgrade... Done
    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    I then went to synaptic and tried to reinstall gimp (it failed) then I told it to fix broken packages and got:
    E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
    E: Unable to correct dependencies

    then I asked synaptic for a held packages and got:
    icad-templates                   5.1.5-1                     project templates for kicad
    libsane				1.0.29-0ubuntu5       API library for scanners
    matchbox                          1:6                           base X environment for resource-limited system
    r-cran-polycub                   0.7.1-1                     GNU R Cubature over Polygonal Domains
    zietgeist                           event logging framwork
    After that I stopped. I did try some other stuff but I am stuck with mysterious things such as held packages. Until I fix this I can do nothing. I was thinking of downloading and re-installing gimp but figure that would just complicate stuff. I am also considering downloading ubuntu 20.10 and installing that just to see if that fixes anything but decided to write this instead. Any help would be appreciated.

    Last edited by jgw; February 16th, 2021 at 12:05 AM.
    Memory: 7.5gb
    Processor: AMD Fx(tm)-6300 six-core processor x 6
    Graphics: AMD Rs780 Resolution: 1920x1080 pixels
    OS: Ubuntu 20.10 Gnome: 3.38.3

  2. #2
    Join Date
    May 2013

    Re: Trying to re-install gimp

    Nothing happened with the apt update / apt upgrade process except the error about the 'cdrom' also explained here.
    Why where you trying to reinstall Gimp? What's the result of
    sudo apt install --reinstall gimp

  3. #3
    Join Date
    Mar 2007

    Re: Trying to re-install gimp

    I notice you appear to have have
    Ign:1 cdrom://Ubuntu 20.04.1 LTS _Focal Fossa_ - Release amd64 (20200731) focal InRelease
    Err:2 cdrom://Ubuntu 20.04.1 LTS _Focal Fossa_ - Release amd64 (20200731) focal Release
    Do you have that in your sources? If you don't need it you might want to remove it.

    Have you tried to explicitly update the held packages of reinstall them?

    apt install icad-templates --reinstall

  4. #4
    Join Date
    Dec 2011
    Ubuntu 18.04 Bionic Beaver

    Re: Trying to re-install gimp

    APT is looking for the cdrom. In other words it's looking for the cd that you install Ubuntu with.

    You should edit your sources list and uncomment the cdrom argument.
    -Check yourself before you wreck yourself-

    Manjaro & Debian 10 Buster


Posting Permissions

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