Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

/etc/apt/preferences no package header

Off-Topic discussions about science, technology, and non Debian specific topics.
Post Reply
Message
Author
Santimirandarp
Posts: 8
Joined: 2017-10-02 06:03

/etc/apt/preferences no package header

#1 Post by Santimirandarp »

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/"

User avatar
dilberts_left_nut
Administrator
Administrator
Posts: 5346
Joined: 2009-10-05 07:54
Location: enzed
Has thanked: 13 times
Been thanked: 66 times

Re: /etc/apt/preferences no package header

#2 Post by dilberts_left_nut »

AdrianTM wrote:There's no hacker in my grandma...

Santimirandarp
Posts: 8
Joined: 2017-10-02 06:03

Re: /etc/apt/preferences no package header

#3 Post by Santimirandarp »

I have found no solutions over that website.

User avatar
dilberts_left_nut
Administrator
Administrator
Posts: 5346
Joined: 2009-10-05 07:54
Location: enzed
Has thanked: 13 times
Been thanked: 66 times

Re: /etc/apt/preferences no package header

#4 Post by dilberts_left_nut »

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...

Santimirandarp
Posts: 8
Joined: 2017-10-02 06:03

Re: /etc/apt/preferences no package header

#5 Post by Santimirandarp »

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.

Post Reply