You are not logged in.

#1 2015-11-08 20:57:11

Temetka
Member
From: Sol System, Western Spiral Arm
Registered: 2015-10-14
Posts: 549

[SOLVED] Powermanagement for my Thinkpad

I am attempting to install TLP for my Thinkpad T410 following the directions from here:

http://linrunner.de/en/tlp/docs/tlp-lin … ement.html

after running apt-get update it tells me this:

W: Failed to fetch http://repo.linrunner.de/debian/dists/DIST/main/binary-amd64/Packages  404  Not Found

E: Some index files failed to download. They have been ignored, or old ones used instead.

Here is my sources.list:

# 

# deb cdrom:[Debian GNU/Linux 8 _Jessie_ - Official Snapshot amd64 LIVE/INSTALL Binary 20150909-03:19]/ jessie contrib main non-free

# deb cdrom:[Debian GNU/Linux 8 _Jessie_ - Official Snapshot amd64 LIVE/INSTALL Binary 20150909-03:19]/ jessie contrib main non-free

deb http://ftp.us.debian.org/debian/ jessie main non-free contrib
#deb-src http://ftp.us.debian.org/debian/ jessie main non-free contrib

deb http://security.debian.org/ jessie/updates main contrib non-free
#deb-src http://security.debian.org/ jessie/updates main contrib non-free

# jessie-updates, previously known as 'volatile'
deb http://ftp.us.debian.org/debian/ jessie-updates main contrib non-free
#deb-src http://ftp.us.debian.org/debian/ jessie-updates main contrib non-free

# added by bl-welcome
# Multimedia repository
deb http://www.deb-multimedia.org jessie main non-free

deb http://repo.linrunner.de/debian DIST main

Am I doing something wrong or is it more likely the package was removed from the repo sever?

Last edited by Temetka (2015-11-08 21:33:38)


The meaning of life is to just be alive. It is so plain and so obvious
    and so simple. And yet everybody rushes aroound in a great panic
             as if it were necessary to achieve something beyond themselves.
                                                                                                             - Alan Watts

Offline

#2 2015-11-08 21:07:22

damo
....moderator....
Registered: 2015-08-20
Posts: 6,703

Re: [SOLVED] Powermanagement for my Thinkpad

http://repo.linrunner.de/debian/dists/stable/main/ works OK in a browser

And if you read the install notes it says

Notes:

    Replace DIST with wheezy, jessie, stretch, sid (or oldstable, stable, testing, unstable).

Last edited by damo (2015-11-08 21:10:55)


Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#3 2015-11-08 21:19:51

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 8,759
Website

Re: [SOLVED] Powermanagement for my Thinkpad

TLP is available in testing/unstable
https://packages.debian.org/stretch/tlp

*Do not* be tempted to add testing/unstable lines to /etc/apt/sources.list

Instead, follow this simple guide to backport the package yourself:
https://wiki.debian.org/SimpleBackportCreation


“Et ignotas animum dimittit in artes.” — Ovid, Metamorphoses, VIII., 18.

Forum Rules   •   How to report a problem   •   Software that rocks

Offline

#4 2015-11-08 21:22:23

Temetka
Member
From: Sol System, Western Spiral Arm
Registered: 2015-10-14
Posts: 549

Re: [SOLVED] Powermanagement for my Thinkpad

Yeah, I tried every single option after the word DIST.

Same 404.


The meaning of life is to just be alive. It is so plain and so obvious
    and so simple. And yet everybody rushes aroound in a great panic
             as if it were necessary to achieve something beyond themselves.
                                                                                                             - Alan Watts

Offline

#5 2015-11-08 21:29:58

damo
....moderator....
Registered: 2015-08-20
Posts: 6,703

Re: [SOLVED] Powermanagement for my Thinkpad

Temetka wrote:

Yeah, I tried every single option after the word DIST.

Same 404.

Read again what I posted:  Replace "DIST" with the name of the source.
Did you get the public key?

...and as HoaS said, it is safer to backport a Debian package instead of getting it from an outside source.


Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#6 2015-11-08 21:33:19

Temetka
Member
From: Sol System, Western Spiral Arm
Registered: 2015-10-14
Posts: 549

Re: [SOLVED] Powermanagement for my Thinkpad

Head_on_a_Stick wrote:

TLP is available in testing/unstable
https://packages.debian.org/stretch/tlp

*Do not* be tempted to add testing/unstable lines to /etc/apt/sources.list

Instead, follow this simple guide to backport the package yourself:
https://wiki.debian.org/SimpleBackportCreation

As I was going through backporting and I ran the command

rmadison tlp --architecture amd64

It came back and said "none"

From this page: https://packages.debian.org/sid/tlp I found a download link to here:

https://packages.debian.org/sid/all/tlp/download

Oh look, a .deb file.

Installed and working.


The meaning of life is to just be alive. It is so plain and so obvious
    and so simple. And yet everybody rushes aroound in a great panic
             as if it were necessary to achieve something beyond themselves.
                                                                                                             - Alan Watts

Offline

#7 2015-11-08 21:50:26

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 8,759
Website

Re: [SOLVED] Powermanagement for my Thinkpad

Temetka wrote:

From this page: https://packages.debian.org/sid/tlp I found a download link to here:

https://packages.debian.org/sid/all/tlp/download

Oh look, a .deb file.

Installed and working.

That's not a good idea.

You'll get away with it for TLP as the dependencies are matched but doing what you just did can completely wreck a system.

For the record, I have just backported it using these commands:

sudo apt install devscripts equivs packaging-dev debian-keyring
dget -x http://http.debian.net/debian/pool/main/t/tlp/tlp_0.8-1
cd tlp-0.8.dsc
sudo mk-build-deps --install --remove
dch --local ~bpo8+ --distribution jessie-backports "Rebuild for jessie-backports."
dpkg-buildpackage -uc -uc

Not very difficult and far less likely to brick your box...

Here are the .deb files:
TLP
TLP-rdw


“Et ignotas animum dimittit in artes.” — Ovid, Metamorphoses, VIII., 18.

Forum Rules   •   How to report a problem   •   Software that rocks

Offline

#8 2015-11-08 22:17:37

Temetka
Member
From: Sol System, Western Spiral Arm
Registered: 2015-10-14
Posts: 549

Re: [SOLVED] Powermanagement for my Thinkpad

Coolness.

Time for some education. What is backporting and why is it necessary?

Back when I was running Mint, the word backporting never came up. If I want a package it's an apt-get away or an add ppa, then apt-get away.

Not that I want to go back to Mint, I'm just trying to learn.

Thanks.


The meaning of life is to just be alive. It is so plain and so obvious
    and so simple. And yet everybody rushes aroound in a great panic
             as if it were necessary to achieve something beyond themselves.
                                                                                                             - Alan Watts

Offline

#9 2015-11-08 22:28:24

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 8,759
Website

Re: [SOLVED] Powermanagement for my Thinkpad

Temetka wrote:

What is backporting and why is it necessary?

Backports are recompiled packages from testing (mostly) and unstable (in a few cases only, e.g. security updates) in a stable environment so that they will run without new libraries (whenever it is possible) on a Debian stable distribution

http://backports.debian.org/Instructions/#index1h2
https://wiki.debian.org/Backports


“Et ignotas animum dimittit in artes.” — Ovid, Metamorphoses, VIII., 18.

Forum Rules   •   How to report a problem   •   Software that rocks

Offline

#10 2015-11-09 06:54:31

Temetka
Member
From: Sol System, Western Spiral Arm
Registered: 2015-10-14
Posts: 549

Re: [SOLVED] Powermanagement for my Thinkpad

I see. Thanks.


The meaning of life is to just be alive. It is so plain and so obvious
    and so simple. And yet everybody rushes aroound in a great panic
             as if it were necessary to achieve something beyond themselves.
                                                                                                             - Alan Watts

Offline

Board footer

Powered by FluxBB