/etc/apt/preferences no package header

If it doesn't relate to Debian, but you still want to share it, please do it here

/etc/apt/preferences no package header

Postby Santimirandarp » 2018-01-21 04:07

Installed Debian Stretch I tried to upgrade it as usual from command line:

Code: Select all
sudo apt-get upgrade


but terminal returns:

E: invalid record in the preferences file etc/apt/preferences.d/huayra-turtleart-pinning-900, no package header

File [etc/apt/preferences.d/huayra-turtleart-pinning-900] inside is:
Code: Select all
Package: turtleart
Pin: version 106*
Pin priority:900


Any idea what's going on and how to fix it?

My version is Huayra but totally based on Debian, as you can see from this information:

Code: Select all
alumno@huayra:~$ cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux 9 (stretch)"
NAME="Debian GNU/Linux"
VERSION_ID="9"
VERSION="9 (stretch)"
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"
Santimirandarp
 
Posts: 8
Joined: 2017-10-02 06:03

Re: /etc/apt/preferences no package header

Postby dilberts_left_nut » 2018-01-21 04:21

AdrianTM wrote:There's no hacker in my grandma...
User avatar
dilberts_left_nut
 
Posts: 4854
Joined: 2009-10-05 07:54
Location: enzed

Re: /etc/apt/preferences no package header

Postby Santimirandarp » 2018-01-21 04:45

I have found no solutions over that website.
Santimirandarp
 
Posts: 8
Joined: 2017-10-02 06:03

Re: /etc/apt/preferences no package header

Postby dilberts_left_nut » 2018-01-21 07:21

Well, it's clearly a huayra modification so your best support is from them.

Also, this might help.
https://wiki.debian.org/es/AptPreferences
AdrianTM wrote:There's no hacker in my grandma...
User avatar
dilberts_left_nut
 
Posts: 4854
Joined: 2009-10-05 07:54
Location: enzed

Re: /etc/apt/preferences no package header

Postby Santimirandarp » 2018-01-21 07:39

dilberts_left_nut wrote:Well, it's clearly a huayra modification so your best support is from them.

Also, this might help.
https://wiki.debian.org/es/AptPreferences


Good, I read the article and decided to remove the file for the moment. I think it won't be a problem although I cant be sure.
Santimirandarp
 
Posts: 8
Joined: 2017-10-02 06:03


Return to Offtopic

Who is online

Users browsing this forum: No registered users and 3 guests

fashionable