You are not logged in.

#1 2017-09-27 23:04:23

dove
Member
Registered: 2016-03-21
Posts: 62

[SOLVED] suse repos

how do I get rid of

echo 'deb http://download.opensuse.org/repositories/home:/stevepassert/Debian_9.0/ /' > /etc/apt/sources.list.d/gimp.list 

wget -nv http://download.opensuse.org/repositories/home:stevepassert/Debian_9.0/Release.key -O Release.key
apt-key add - < Release.key
apt-get update

after gimp 2.9 won't work and I want 2.8 back. Please help

Last edited by Head_on_a_Stick (2017-10-02 17:58:49)

Offline

#2 2017-09-28 04:30:51

Bearded_Blunder
Dodging A Bullet
From: Seat: seat0; vc7
Registered: 2015-09-29
Posts: 1,146

Re: [SOLVED] suse repos

Personally I'd just delete gimp.list from /etc/apt/sources.list.d/  then apt-get update, then reinstall gimp

If I was being careful and thorough, I'd then search how to remove the apt key, which I don't know off the top of my head, having not had to do it, plus it seems pretty harmless without the repo listed

apt-key --help looks a helpful place to start.


Blessed is he who expecteth nothing, for he shall not be disappointed...
If there's an obscure or silly way to break it, but you don't know what.. Just ask me

Offline

#3 2017-09-28 06:21:46

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,093
Website

Re: [SOLVED] suse repos

dove wrote:

gimp 2.9 won't work and I want 2.8 back

First remove the GIMP version you have now:

sudo apt purge gimp

Then remove Steve Pusser's repository:

sudo rm /etc/apt/sources.list.d/gimp.list

Finally, update the package database and install the old version:

sudo apt update && sudo apt install gimp

If you let us know how exactly Steve's version of GIMP fails — posting anything relevant from ~/.xsession-errors would be a great help — then perhaps we can get it working for you.

Offline

#4 2017-09-28 22:21:01

stevep
MX Linux Developer
Registered: 2016-08-08
Posts: 381

Re: [SOLVED] suse repos

Removing everything it upgraded might be a bigger job than that.  For example, it also needed a newer libbabl and libgegl, and libgegl in turn needed a newer ffmpeg to build on Jessie, which is why it's in the multimedia repo. FFmpeg in turn is a lot of packages, and it in turn depends on some other backported packages.  Leaving them installed shouldn't break anything, though.

An alternative could be just to tell aptitude to install the version you want; so, an example on MX 16:

 apt-cache policy gimp
gimp:
  Installed: 2.8.22-0mx15+1
  Candidate: 2.8.22-0mx15+1
  Version table:
 *** 2.8.22-0mx15+1 0
        500 http://iso.mxrepo.com/mx/testrepo/ mx15/test amd64 Packages
        100 /var/lib/dpkg/status
     2.8.18-0mx150+2 0
        500 http://iso.mxrepo.com/mx/repo/ mx15/main amd64 Packages
        500 http://iso.mxrepo.com/mx/repo/ mx16/main amd64 Packages
     2.8.14-1+deb8u1 0
        500 http://ftp.us.debian.org/debian/ jessie/main amd64 Packages
        500 http://security.debian.org/ jessie/updates/main amd64 Packages

So the Jessie version is "2.8.14-1+deb8u1".  We just tell aptitude to install that version:

aptitude install gimp=2.8.14-1+deb8u1

Aptitude will try multiple solutions to this, and the first one is seldom the one you want.  Just keep hitting "n" to go to the next solution.

Last edited by stevep (2017-09-28 22:22:37)

Offline

#5 2017-09-30 20:09:40

dove
Member
Registered: 2016-03-21
Posts: 62

Re: [SOLVED] suse repos

Head_on_a_Stick wrote:
dove wrote:

gimp 2.9 won't work and I want 2.8 back

First remove the GIMP version you have now:

sudo apt purge gimp

Then remove Steve Pusser's repository:

sudo rm /etc/apt/sources.list.d/gimp.list

Finally, update the package database and install the old version:

sudo apt update && sudo apt install gimp

If you let us know how exactly Steve's version of GIMP fails — posting anything relevant from ~/.xsession-errors would be a great help — then perhaps we can get it working for you.

I get

GIMP requires BABL version 0.1.30 or later.
Installed BABL version is 0.1.28.

Somehow you or your software packager managed
to install GIMP with an older BABL version.

Please upgrade to BABL version 0.1.30 or later.

there could be a problem in that I use #! upgraded to stretch. none of the suggestions work

Offline

#6 2017-09-30 20:21:21

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,093
Website

Re: [SOLVED] suse repos

dove wrote:

none of the suggestions work

@stevep's suggestion should work — did you try all of the options given by `aptitude`?

Or we could try the `apt-get` sledgehammer:

sudo apt-get install gimp=2.8.14-1+deb8u1

See also https://wiki.debian.org/RollbackUpdate

Offline

#7 2017-09-30 20:25:01

dove
Member
Registered: 2016-03-21
Posts: 62

Re: [SOLVED] suse repos

Head_on_a_Stick wrote:
dove wrote:

none of the suggestions work

@stevep's suggestion should work — did you try all of the options given by `aptitude`?

Or we could try the `apt-get` sledgehammer:

sudo apt-get install gimp=2.8.14-1+deb8u1

See also https://wiki.debian.org/RollbackUpdate

I get

Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Version '2.8.14-1+deb8u1' for 'gimp' was not found

Offline

#8 2017-09-30 20:27:18

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,093
Website

Re: [SOLVED] suse repos

Can we see:

apt-cache policy gimp

That is the correct version:

https://packages.debian.org/jessie/gimp

Offline

#9 2017-09-30 20:42:59

dove
Member
Registered: 2016-03-21
Posts: 62

Re: [SOLVED] suse repos

Head_on_a_Stick wrote:

Can we see:

apt-cache policy gimp

That is the correct version:

https://packages.debian.org/jessie/gimp

I get

gimp:
  Installed: 2.9.7~1-0z0obs
  Candidate: 2.9.7~1-0z0obs
  Version table:
 *** 2.9.7~1-0z0obs 500
        500 http://download.opensuse.org/repositories/home:/stevepassert/Debian_9.0  Packages
        100 /var/lib/dpkg/status
     2.8.18-1 500
        500 http://http.debian.net/debian stretch/main amd64 Packages

I tried

sudo apt-get install gimp=2.8.18-1+deb8u1 and got

E: Version '2.8.18-1+deb8u1' for 'gimp' was not found

Offline

#10 2017-09-30 20:47:04

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,093
Website

Re: [SOLVED] suse repos

sudo apt-get install gimp=2.8.18-1

I think.

Offline

#11 2017-09-30 20:51:02

dove
Member
Registered: 2016-03-21
Posts: 62

Re: [SOLVED] suse repos

Head_on_a_Stick wrote:
sudo apt-get install gimp=2.8.18-1

I think.

I get

The following packages have unmet dependencies:
 gimp : Depends: libgimp2.0 (<= 2.8.18-z) but 2.9.7~1-0z0obs is to be installed
        Depends: gimp-data (<= 2.8.18-z) but 2.9.7~1-0z0obs is to be installed
E: Unable to correct problems, you have held broken packages.

What have I done to myself? but you people are very kind and helpful

Offline

#12 2017-09-30 21:04:23

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,093
Website

Re: [SOLVED] suse repos

OK, we need to use `aptitude`s advanced heuristics here, so stevep was right (no surprise there):

sudo aptitude install gimp=2.8.18-1

As Steve noted, the command will offer more than one option and the first one probably won't help so be sure to press "n" when it asks so you can see the other options wink

Offline

#13 2017-09-30 21:11:13

dove
Member
Registered: 2016-03-21
Posts: 62

Re: [SOLVED] suse repos

Head_on_a_Stick wrote:

OK, we need to use `aptitude`s advanced heuristics here, so stevep was right (no surprise there):

sudo aptitude install gimp=2.8.18-1

As Steve noted, the command will offer more than one option and the first one probably won't help so be sure to press "n" when it asks so you can see the other options wink

Well I got that to work. You guys are great

Offline

#14 2017-09-30 21:12:36

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,093
Website

Re: [SOLVED] suse repos

Hooray!

I will mark the thread [SOLVED] smile

Offline

#15 2017-09-30 22:38:58

dove
Member
Registered: 2016-03-21
Posts: 62

Re: [SOLVED] suse repos

sorry one more thing. update wants to update

The following NEW packages will be installed:
  libmypaint
The following packages will be upgraded:
  gegl gimp gimp-data libgegl-0.3-0 libgimp2.0

is this going to mess thing up?

Offline

#16 2017-09-30 22:42:35

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,093
Website

Re: [SOLVED] suse repos

Have you removed /etc/apt/sources.list.d/gimp.list?

Remember to use `sudo apt update` after changing any repositories.

Offline

#17 2017-09-30 22:50:57

dove
Member
Registered: 2016-03-21
Posts: 62

Re: [SOLVED] suse repos

Head_on_a_Stick wrote:

Have you removed /etc/apt/sources.list.d/gimp.list?

Remember to use `sudo apt update` after changing any repositories.

yes I did both but I'm using crunchbang upgrade to stretch

Offline

#18 2017-09-30 23:04:56

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,093
Website

Re: [SOLVED] suse repos

dove wrote:

I'm using crunchbang upgrade to stretch

Erm, OK, you should really include this sort of thing in the first post.

Which versions of GIMP are available now?

apt-cache policy gimp

If that only shows stretch packages then it's probably "safe" to upgrade.

Offline

#19 2017-09-30 23:14:32

dove
Member
Registered: 2016-03-21
Posts: 62

Re: [SOLVED] suse repos

Head_on_a_Stick wrote:
dove wrote:

I'm using crunchbang upgrade to stretch

Erm, OK, you should really include this sort of thing in the first post.

Which versions of GIMP are available now?

apt-cache policy gimp

If that only shows stretch packages then it's probably "safe" to upgrade.

I get

gimp:
  Installed: 2.8.18-1
  Candidate: 2.9.7~1-0z0obs
  Version table:
     2.9.7~1-0z0obs 500
        500 http://download.opensuse.org/repositories/home:/stevepassert/Debian_9.0  Packages
 *** 2.8.18-1 500
        500 http://http.debian.net/debian stretch/main amd64 Packages
        100 /var/lib/dpkg/status

Offline

#20 2017-09-30 23:16:39

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,093
Website

Re: [SOLVED] suse repos

Hmmm...

Let's try:

grep -v '^#\|^$' /etc/apt/sources.list{,.d/*}

Offline

Board footer

Powered by FluxBB