Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Debian User (http://www.linux-archive.org/debian-user/)
-   -   wheezy: problems installing tex-live (http://www.linux-archive.org/debian-user/649890-wheezy-problems-installing-tex-live.html)

Kjetil brinchmann Halvorsen 03-28-2012 02:53 PM

wheezy: problems installing tex-live
 
Hola!

I have an mostly wheezy system with a few packages from sid (r-base, r-cran mostly)
Now I cannot install texlive!

kjetil@kjetil:~$ sudo apt-get* install texlive --fix-broken
Reading package lists... Done

Building dependency tree******
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created

or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
*texlive : Depends: texlive-fonts-recommended (>= 2009-1) but it is not going to be installed

********** Depends: texlive-latex-recommended (>= 2009-1) but it is not going to be installed
********** Depends: texlive-latex-base (>= 2009-1) but it is not going to be installed
E: Broken packages

'What to do?


Kjetil
--
"If you want a picture of the future - imagine a boot stamping on the
human face - forever."



George Orwell (1984)

Andrei POPESCU 03-28-2012 03:08 PM

wheezy: problems installing tex-live
 
On Mi, 28 mar 12, 08:53:41, Kjetil brinchmann Halvorsen wrote:
> Hola!
>
> I have an mostly wheezy system with a few packages from sid (r-base, r-cran
> mostly)
> Now I cannot install texlive!

Please post the output of 'apt-cache policy'.

> kjetil@kjetil:~$ sudo apt-get install texlive --fix-broken

Why the "--fix-broken", do you have broken packages on your system (try
'apt-get check')?

Kind regards,
Andrei
--
Offtopic discussions among Debian users and developers:
http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic

Kjetil brinchmann Halvorsen 03-28-2012 03:40 PM

wheezy: problems installing tex-live
 
see below:

On Wed, Mar 28, 2012 at 09:08, Andrei POPESCU <andreimpopescu@gmail.com> wrote:

On Mi, 28 mar 12, 08:53:41, Kjetil brinchmann Halvorsen wrote:

> Hola!

>

> I have an mostly wheezy system with a few packages from sid (r-base, r-cran

> mostly)

> Now I cannot install texlive!



Please post the output of 'apt-cache policy'.



> kjetil@kjetil:~$ sudo apt-get *install texlive --fix-broken



Why the "--fix-broken", do you have broken packages on your system (try

'apt-get check')?

kjetil@kjetil:~$ sudo apt-get check
[sudo] password for kjetil:
Reading package lists... Done
Building dependency tree******
Reading state information... Done


Then, the output of apt-cache policy:

*kjetil@kjetil:~$ sudo apt-cache policy
Package files:
*100 /var/lib/dpkg/status
**** release a=now
*650 http://dl.google.com/linux/deb/ testing/non-free amd64 Packages

**** release o=Google, Inc.,a=testing,n=testing,l=Google,c=non-free
**** origin dl.google.com
*500 http://ftp.cl.debian.org/debian/ unstable/non-free Translation-en

*500 http://ftp.cl.debian.org/debian/ unstable/main Translation-en
*500 http://ftp.cl.debian.org/debian/ unstable/contrib Translation-en

*600 http://ftp.cl.debian.org/debian/ unstable/non-free amd64 Packages
**** release o=Debian,a=unstable,n=sid,l=Debian,c=non-free
**** origin ftp.cl.debian.org

*600 http://ftp.cl.debian.org/debian/ unstable/contrib amd64 Packages
**** release o=Debian,a=unstable,n=sid,l=Debian,c=contrib
**** origin ftp.cl.debian.org

*600 http://ftp.cl.debian.org/debian/ unstable/main amd64 Packages
**** release o=Debian,a=unstable,n=sid,l=Debian,c=main
**** origin ftp.cl.debian.org

*650 http://www.debian-multimedia.org/ testing/non-free amd64 Packages
**** release v=None,o=Unofficial Multimedia Packages,a=testing,n=wheezy,l=Unofficial Multimedia Packages,c=non-free

**** origin www.debian-multimedia.org
*650 http://www.debian-multimedia.org/ testing/main amd64 Packages
**** release v=None,o=Unofficial Multimedia Packages,a=testing,n=wheezy,l=Unofficial Multimedia Packages,c=main

**** origin www.debian-multimedia.org
*650 http://security.debian.org/ wheezy/updates/non-free amd64 Packages
**** release o=Debian,a=testing,n=wheezy,l=Debian-Security,c=non-free

**** origin security.debian.org
*650 http://security.debian.org/ wheezy/updates/contrib amd64 Packages
**** release o=Debian,a=testing,n=wheezy,l=Debian-Security,c=contrib

**** origin security.debian.org
*650 http://security.debian.org/ wheezy/updates/main amd64 Packages
**** release o=Debian,a=testing,n=wheezy,l=Debian-Security,c=main

**** origin security.debian.org
*550 http://ftp.cl.debian.org/debian/ squeeze/non-free amd64 Packages
**** release v=6.0.4,o=Debian,a=stable,n=squeeze,l=Debian,c=non-free

**** origin ftp.cl.debian.org
*550 http://ftp.cl.debian.org/debian/ squeeze/contrib amd64 Packages
**** release v=6.0.4,o=Debian,a=stable,n=squeeze,l=Debian,c=con trib

**** origin ftp.cl.debian.org
*550 http://ftp.cl.debian.org/debian/ squeeze/main amd64 Packages
**** release v=6.0.4,o=Debian,a=stable,n=squeeze,l=Debian,c=mai n

**** origin ftp.cl.debian.org
*500 http://ftp.cl.debian.org/debian/ wheezy/non-free Translation-en
*500 http://ftp.cl.debian.org/debian/ wheezy/main Translation-en

*500 http://ftp.cl.debian.org/debian/ wheezy/contrib Translation-en
*650 http://ftp.cl.debian.org/debian/ wheezy/non-free amd64 Packages

**** release o=Debian,a=testing,n=wheezy,l=Debian,c=non-free
**** origin ftp.cl.debian.org
*650 http://ftp.cl.debian.org/debian/ wheezy/contrib amd64 Packages

**** release o=Debian,a=testing,n=wheezy,l=Debian,c=contrib
**** origin ftp.cl.debian.org
*650 http://ftp.cl.debian.org/debian/ wheezy/main amd64 Packages

**** release o=Debian,a=testing,n=wheezy,l=Debian,c=main
**** origin ftp.cl.debian.org
Pinned packages:

Kjetil




Kind regards,

Andrei

--

Offtopic discussions among Debian users and developers:

http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic



--
"If you want a picture of the future - imagine a boot stamping on the
human face - forever."



George Orwell (1984)

Andrei POPESCU 03-28-2012 04:59 PM

wheezy: problems installing tex-live
 
On Mi, 28 mar 12, 09:40:38, Kjetil brinchmann Halvorsen wrote:
> >
> > > kjetil@kjetil:~$ sudo apt-get install texlive --fix-broken
> >
> > Why the "--fix-broken", do you have broken packages on your system (try
> > 'apt-get check')?
>
> kjetil@kjetil:~$ sudo apt-get check
> [sudo] password for kjetil:
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done

No problems here, you can forget about '-f'

> Then, the output of apt-cache policy:

[snipped and re-ordered]

> 650 http://ftp.cl.debian.org/debian/ wheezy/main amd64 Packages
> release o=Debian,a=testing,n=wheezy,l=Debian,c=main
> origin ftp.cl.debian.org
...
> 600 http://ftp.cl.debian.org/debian/ unstable/main amd64 Packages
> release o=Debian,a=unstable,n=sid,l=Debian,c=main
> origin ftp.cl.debian.org
...
> 550 http://ftp.cl.debian.org/debian/ squeeze/main amd64 Packages
> release v=6.0.4,o=Debian,a=stable,n=squeeze,l=Debian,c=mai n
> origin ftp.cl.debian.org

You should be able to install texlive with:

apt-get install -t unstable texlive

By the way, in my opinion your setup is a bit too complicated. You would
achieve the same effect with only

echo 'APT::Default-Release "wheezy";' >> /etc/apt/apt.conf

and no /etc/apt/preferences at all. This would pin wheezy to 990 and let
everything else be priority 500.

Kind regards,
Andrei
--
Offtopic discussions among Debian users and developers:
http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic

Kjetil brinchmann Halvorsen 03-28-2012 06:23 PM

wheezy: problems installing tex-live
 
Thanks!

see below.

On Wed, Mar 28, 2012 at 10:59, Andrei POPESCU <andreimpopescu@gmail.com> wrote:

On Mi, 28 mar 12, 09:40:38, Kjetil brinchmann Halvorsen wrote:

> >

> > > kjetil@kjetil:~$ sudo apt-get *install texlive --fix-broken

> >

> > Why the "--fix-broken", do you have broken packages on your system (try

> > 'apt-get check')?

>

> kjetil@kjetil:~$ sudo apt-get check

> [sudo] password for kjetil:

> Reading package lists... Done

> Building dependency tree

> Reading state information... Done



No problems here, you can forget about '-f'



> Then, the output of apt-cache policy:



[snipped and re-ordered]



> *650 http://ftp.cl.debian.org/debian/ wheezy/main amd64 Packages

> * * *release o=Debian,a=testing,n=wheezy,l=Debian,c=main

> * * *origin ftp.cl.debian.org

...

> *600 http://ftp.cl.debian.org/debian/ unstable/main amd64 Packages

> * * *release o=Debian,a=unstable,n=sid,l=Debian,c=main

> * * *origin ftp.cl.debian.org

...

> *550 http://ftp.cl.debian.org/debian/ squeeze/main amd64 Packages

> * * *release v=6.0.4,o=Debian,a=stable,n=squeeze,l=Debian,c=mai n

> * * *origin ftp.cl.debian.org



You should be able to install texlive with:



* *apt-get install -t unstable texlive



By the way, in my opinion your setup is a bit too complicated. You would

achieve the same effect with only



* *echo 'APT::Default-Release "wheezy";' >> /etc/apt/apt.conf



and no /etc/apt/preferences at all. This would pin wheezy to 990 and let

everything else be priority 500.

Thanks! but what I really want is to pin
r-base-*,r-cran-* etc
to always come from unstable. How can I augment /etc/apt/preferences
to do that?

Kjetil




Kind regards,

Andrei

--

Offtopic discussions among Debian users and developers:

http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic



--
"If you want a picture of the future - imagine a boot stamping on the
human face - forever."



George Orwell (1984)

Andrei POPESCU 03-28-2012 09:23 PM

wheezy: problems installing tex-live
 
On Mi, 28 mar 12, 12:23:25, Kjetil brinchmann Halvorsen wrote:
>
> Thanks! but what I really want is to pin
> r-base-*,r-cran-* etc
> to always come from unstable. How can I augment /etc/apt/preferences
> to do that?

Based on examples from 'man apt_preferences' (untested):

Package: r-base-*
Pin: release a=unstable
Pin-Priority: <same-as-wheezy>

Notes:
- from a quick reading of the man page it seems to be possible to put
all patterns space-separated in the Package: field, otherwise just
write one stanza for each pattern
- replace <same-as-wheezy> with the priority for wheezy (650 in your
current setup, 990 if you go by my suggestion)
- do check the pin(s) with 'apt-cache policy' and
'apt-cache policy <packagename>' before doing any installation/upgrade

Hope this helps,
Andrei
--
Offtopic discussions among Debian users and developers:
http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic


All times are GMT. The time now is 01:54 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.