By default, Bugzilla does not search the list of RESOLVED bugs.
You can force it to do so by putting the upper-case word ALL in front of your search query, e.g.: ALL tdelibs
We recommend searching for bugs this way, as you may discover that your bug has already been resolved and fixed in a later release.

Bug 2538

Summary: i cannot install trinity on stretch
Product: TDE Reporter: Carlo <assolutooccidentale>
Component: debianAssignee: Timothy Pearson <kb9vqf>
Status: RESOLVED FIXED    
Severity: major CC: assolutooccidentale, bugwatch, michele.calgaro, slavek.banko
Priority: P5    
Version: R14.1.x [Trinity]   
Hardware: amd64   
OS: Linux   
Compiler Version: TDE Version String:
Application Version: Application Name:

Description Carlo 2015-10-16 02:12:55 CDT
hi
i have just installed sparky linux (debian testing)
i wanted to install trinity, but i cannot for dependencies issues (i've added both jessie and preliminary stable repos)

here's what i'm given when i type apt-get install tde-trinity

[  ]  [ carlo@linuxschifo:~ ]
 $ sudo apt-get install tde-trinity 
[sudo] password di carlo: 
Riprovare.
[sudo] password di carlo: 
Lettura elenco dei pacchetti... Fatto
Generazione albero delle dipendenze       
Lettura informazioni sullo stato... Fatto
Alcuni pacchetti non possono essere installati. Questo può voler dire
che è stata richiesta una situazione impossibile oppure, se si sta
usando una distribuzione in sviluppo, che alcuni pacchetti richiesti
non sono ancora stati creati o sono stati rimossi da Incoming.
Le seguenti informazioni possono aiutare a risolvere la situazione:

I seguenti pacchetti hanno dipendenze non soddisfatte:
 tde-trinity : Dipende: tde-core-trinity (>= 4:14.0.0~) ma non sta per essere installato
               Dipende: tdeedu-trinity (>= 4:14.0.0~) ma non sta per essere installato
               Dipende: tdegames-trinity (>= 4:14.0.0~) ma non sta per essere installato
               Dipende: tdetoys-trinity (>= 4:14.0.0~) ma non sta per essere installato
               Dipende: tdeaccessibility-trinity (>= 4:14.0.0~) ma non sta per essere installato
               Dipende: tdeaddons-trinity (>= 4:14.0.0~) ma non sta per essere installato
               Dipende: tdeadmin-trinity (>= 4:14.0.0~) ma non sta per essere installato
               Dipende: tdeartwork-trinity (>= 4:14.0.0~) ma non sta per essere installato
               Dipende: tdegraphics-trinity (>= 4:14.0.0~) ma non sta per essere installato
               Dipende: tdemultimedia-trinity (>= 4:14.0.0~) ma non sta per essere installato
               Dipende: tdenetwork-trinity (>= 4:14.0.0~) ma non sta per essere installato
               Dipende: tdepim-trinity (>= 4:14.0.0~) ma non sta per essere installato
               Dipende: tdeutils-trinity (>= 4:14.0.0~) ma non sta per essere installato
               Dipende: tdewebdev-trinity (>= 4:14.0.0~) ma non sta per essere installato
E: Impossibile correggere i problemi, ci sono pacchetti danneggiati bloccati.



last line is "impossible to correct the issues, there are damaged blocked packages"
thank you
Comment 1 Slávek Banko 2015-10-16 02:55:12 CDT
I tried:

Add this line into sources.list:
deb http://mirror.xcer.cz/trinity-sb stretch main-r14 deps-r14

And then: apt-get install tde-trinity
.
.
.
0 upgraded, 683 newly installed, 0 to remove and 0 not upgraded.
Need to get 381 MB of archives.
After this operation, 1147 MB of additional disk space will be used.
Do you want to continue? [Y/n]

I not noticed a problem that you mention. Please, can you provide some more information?
Comment 2 Carlo 2015-10-16 08:33:40 CDT
-------------------------------------------------------------
 $ cat /etc/apt/sources.list.d/trinity.list 
# Trinity preliminary stable builds
deb http://mirror.xcer.cz/trinity-sb jessie deps-r14 main-r14
deb-src http://mirror.xcer.cz/trinity-sb jessie deps-r14 main-r14

# TDE R14.0.1 
deb http://mirror.ppa.trinitydesktop.org/trinity/trinity-r14.0.0/debian jessie main
deb-src http://mirror.ppa.trinitydesktop.org/trinity/trinity-r14.0.0/debian jessie main
deb http://mirror.ppa.trinitydesktop.org/trinity/trinity-builddeps-r14.0.0/debian jessie main
deb-src http://mirror.ppa.trinitydesktop.org/trinity/trinity-builddeps-r14.0.0/debian jessie main
-------------------------------------------------------------

that is the apt file, i have added the normal repos because i thought there was some library missing, but results don't change

here are uname and architectures
-------------------------------------------------------------
$ uname -a
Linux linuxschifo 4.2.0-1-amd64 #1 SMP Debian 4.2.1-2 (2015-09-27) x86_64 GNU/Linux

$ dpkg --print-architecture 
amd64
$ dpkg --print-foreign-architectures 
i386
-------------------------------------------------------------------

i've tried to say install tde-trinity
but it gave me same error as above
(In reply to Slávek Banko from comment #1)
> I tried:
> 
> Add this line into sources.list:
> deb http://mirror.xcer.cz/trinity-sb stretch main-r14 deps-r14
> 
> And then: apt-get install tde-trinity
> .
> .
> .
> 0 upgraded, 683 newly installed, 0 to remove and 0 not upgraded.
> Need to get 381 MB of archives.
> After this operation, 1147 MB of additional disk space will be used.
> Do you want to continue? [Y/n]
> 
> I not noticed a problem that you mention. Please, can you provide some more
> information?
Comment 3 Slávek Banko 2015-10-16 08:56:28 CDT
(In reply to Carlo from comment #2)
> -------------------------------------------------------------
>  $ cat /etc/apt/sources.list.d/trinity.list 
> # Trinity preliminary stable builds
> deb http://mirror.xcer.cz/trinity-sb jessie deps-r14 main-r14
> deb-src http://mirror.xcer.cz/trinity-sb jessie deps-r14 main-r14
> 
> # TDE R14.0.1 
> deb http://mirror.ppa.trinitydesktop.org/trinity/trinity-r14.0.0/debian
> jessie main
> deb-src http://mirror.ppa.trinitydesktop.org/trinity/trinity-r14.0.0/debian
> jessie main
> deb
> http://mirror.ppa.trinitydesktop.org/trinity/trinity-builddeps-r14.0.0/
> debian jessie main
> deb-src
> http://mirror.ppa.trinitydesktop.org/trinity/trinity-builddeps-r14.0.0/
> debian jessie main
> -------------------------------------------------------------
> 
> that is the apt file, i have added the normal repos because i thought there
> was some library missing, but results don't change
> 
> here are uname and architectures
> -------------------------------------------------------------
> $ uname -a
> Linux linuxschifo 4.2.0-1-amd64 #1 SMP Debian 4.2.1-2 (2015-09-27) x86_64
> GNU/Linux
> 
> $ dpkg --print-architecture 
> amd64
> $ dpkg --print-foreign-architectures 
> i386
> -------------------------------------------------------------------
> 
> i've tried to say install tde-trinity
> but it gave me same error as above
> (In reply to Slávek Banko from comment #1)
> > I tried:
> > 
> > Add this line into sources.list:
> > deb http://mirror.xcer.cz/trinity-sb stretch main-r14 deps-r14
> > 
> > And then: apt-get install tde-trinity
> > .
> > .
> > .
> > 0 upgraded, 683 newly installed, 0 to remove and 0 not upgraded.
> > Need to get 381 MB of archives.
> > After this operation, 1147 MB of additional disk space will be used.
> > Do you want to continue? [Y/n]
> > 
> > I not noticed a problem that you mention. Please, can you provide some more
> > information?

If you use preliminary stable builds, you do not need any from official sources: trinity-r14.0.0 in official is like mail-r14 in preliminary, trinity-builddeps-r14.0.0 is like deps-r14.

Because you need to install into Stretch, you should use 'stretch' in sources.list. Therefore, this single line is all, that you need:

deb http://mirror.xcer.cz/trinity-sb stretch main-r14 deps-r14
Comment 4 Michele Calgaro 2015-10-16 09:34:17 CDT
Ciao Carlo,
gcc in jessie is 4.9, while stretch is now on 5.2.
There is a ABI change between 4.x and 5.x, so packages built for jessie would most likely not work correctly in stretch due to that. So make sure you only use stretch sources for stretch, as Slavek said.

PS: certo che un nome computer come linuxschifo...... :-)
Comment 5 Carlo 2015-10-16 16:42:56 CDT
(In reply to Michele Calgaro from comment #4)
> Ciao Carlo,
> gcc in jessie is 4.9, while stretch is now on 5.2.
> There is a ABI change between 4.x and 5.x, so packages built for jessie
> would most likely not work correctly in stretch due to that. So make sure
> you only use stretch sources for stretch, as Slavek said.
> 
> PS: certo che un nome computer come linuxschifo...... :-)

I have no idea what you said but that sound persuasive

PS:
se lo avessi formattato reinstallato e configurato questa macchina anche tu dieci volte in una settimana linuxschifo è il minimo sindacale...


(In reply to Slávek Banko from comment #3)
> 
> If you use preliminary stable builds, you do not need any from official
> sources: trinity-r14.0.0 in official is like mail-r14 in preliminary,
> trinity-builddeps-r14.0.0 is like deps-r14.
> 
> Because you need to install into Stretch, you should use 'stretch' in
> sources.list. Therefore, this single line is all, that you need:
> 
> deb http://mirror.xcer.cz/trinity-sb stretch main-r14 deps-r14

Actually i trusted blindly what you published on the wiki page.. didn't even think about reading what i was pasting in the list file....



anyhow it's installing now
sorry for the trouble
Comment 6 Michele Calgaro 2015-10-16 20:24:43 CDT
>se lo avessi formattato reinstallato e configurato questa macchina anche tu >dieci volte in una settimana linuxschifo è il minimo sindacale...
LOL. In questo caso non posso che darti ragione ;-)
Comment 7 Michele Calgaro 2015-10-16 20:25:22 CDT
>anyhow it's installing now
>sorry for the trouble
By the way, does it mean we can close the bug?
Comment 8 Carlo 2015-10-17 01:40:56 CDT
(In reply to Michele Calgaro from comment #7)
> >anyhow it's installing now
> >sorry for the trouble
> By the way, does it mean we can close the bug?

provided you correct installation instructions first ;)
Comment 9 Slávek Banko 2015-10-17 13:36:24 CDT
(In reply to Carlo from comment #8)
> (In reply to Michele Calgaro from comment #7)
> > >anyhow it's installing now
> > >sorry for the trouble
> > By the way, does it mean we can close the bug?
> 
> provided you correct installation instructions first ;)

I am considering how we could improve the installation instructions that were resistant to it when someone mindlessly perform copy & paste. Perhaps instead of 'jessie' we could use 'your-distribution', which without overwrite to the name of a specific distribution would simply did not work at all.
Comment 10 Carlo 2015-10-17 16:59:26 CDT
(In reply to Slávek Banko from comment #9)
> I am considering how we could improve the installation instructions that
> were resistant to it when someone mindlessly perform copy & paste. Perhaps
> instead of 'jessie' we could use 'your-distribution', which without
> overwrite to the name of a specific distribution would simply did not work
> at all.

either that... or i'm not such an expert of repos, but what about writing "testing" "stable" "sid" after repo address?
Comment 11 Slávek Banko 2015-10-17 18:31:54 CDT
(In reply to Carlo from comment #10)
> either that... or i'm not such an expert of repos, but what about writing
> "testing" "stable" "sid" after repo address?

You looked below for a list of supported versions of the distributions? There are 17 of them! Using 'stable', 'testing' and 'unstable' or 'sid' is not sufficient and is not appropriate.
Comment 12 Michele Calgaro 2015-10-17 21:50:25 CDT
>Perhaps instead of 'jessie' we could use 'your-distribution', which without 
>overwrite to the name of a specific distribution would simply did not work at 
>all.

To me, using the distribution name seems very specific and correct.
Of course if a user tries to install 'version-A' on a 'version-B' distro, problems could potentially arise, as in the case of 'jessie vs stretch'.

For Stretch we can probably improve this page (https://wiki.trinitydesktop.org/DebianInstall) adding some code to copy and paste, by making again clear that the packages are only available from the preliminary stable builds repo.
What do you think? I can take care of that if you think it is a good idea.
Comment 13 Carlo 2015-10-18 01:57:25 CDT
(In reply to Slávek Banko from comment #11)
> (In reply to Carlo from comment #10)
> > either that... or i'm not such an expert of repos, but what about writing
> > "testing" "stable" "sid" after repo address?
> 
> You looked below for a list of supported versions of the distributions?
> There are 17 of them! Using 'stable', 'testing' and 'unstable' or 'sid' is
> not sufficient and is not appropriate.

sorry.. i was thinking about debian repos only
Comment 14 Slávek Banko 2015-10-21 13:40:46 CDT
(In reply to Michele Calgaro from comment #12)
> >Perhaps instead of 'jessie' we could use 'your-distribution', which without 
> >overwrite to the name of a specific distribution would simply did not work at 
> >all.
> 
> To me, using the distribution name seems very specific and correct.
> Of course if a user tries to install 'version-A' on a 'version-B' distro,
> problems could potentially arise, as in the case of 'jessie vs stretch'.
> 
> For Stretch we can probably improve this page
> (https://wiki.trinitydesktop.org/DebianInstall) adding some code to copy and
> paste, by making again clear that the packages are only available from the
> preliminary stable builds repo.
> What do you think? I can take care of that if you think it is a good idea.

No, I purposely did not want to mix 'stable' and 'preliminary' (or 'nigtly') on one page. It was the intention, that user needs to open a separate page with information that he is going to install a version that is not in the final state at this moment.
Comment 15 Michele Calgaro 2015-10-23 10:12:42 CDT
>No, I purposely did not want to mix 'stable' and 'preliminary' (or 'nigtly') on >one page. It was the intention, that user needs to open a separate page with >information that he is going to install a version that is not in the final 
>state at this moment.
Ok, fair enough. Then I guess we need to update the "Preliminary Stable Builds" wiki page with something like

# Trinity preliminary stable builds
deb http://mirror.xcer.cz/trinity-sb <your-distribution> deps-r14 main-r14
deb-src http://mirror.xcer.cz/trinity-sb <your-distribution> deps-r14 main-r14

perhaps highlighting '<your-distribution>' in a different color.
What do you think?
Comment 16 Michele Calgaro 2015-10-24 09:58:46 CDT
Installing instructions have been updated and should now be easy enough to follow, avoiding the risk or copy-and-paste mistakes.
Comment 17 Michele Calgaro 2015-10-24 10:00:45 CDT
Ah yes, Carlo can you also take a look at the new instruction format and let us know if it is ok for you? ;-)

https://wiki.trinitydesktop.org/Preliminary_Stable_Builds
https://wiki.trinitydesktop.org/Debian_Trinity_Repository_Installation_Instructions
Comment 18 Carlo 2015-10-24 12:24:23 CDT
(In reply to Michele Calgaro from comment #17)
> Ah yes, Carlo can you also take a look at the new instruction format and let
> us know if it is ok for you? ;-)
> 
> https://wiki.trinitydesktop.org/Preliminary_Stable_Builds
> https://wiki.trinitydesktop.org/
> Debian_Trinity_Repository_Installation_Instructions

perfect capt'n!
thank ye!