You are not logged in.

#1 2014-01-08 17:10:56

halo
Member
From: Denver
Registered: 2013-12-27
Posts: 32

[SOLVED] Quick question about mirrorlist.pacnew

Is it safe to delete? Does it have to be merged?

I may have stupidly made a rash decision after an update to just delete after a quick glance through a wiki about it.

Is there a way to view with pacman -Q a chronological order or timeline of recently installed packages so I can try to re-install and generate another mirrorlist.pacnew ? (I understand that there is a way to query similar information about individual packages, but I simply don't remember which packages I upgraded last night).

Any help would be appreciated. I want to avoid any hiccups or future issues as my current setup has been super solid.

Last edited by halo (2014-01-08 17:26:46)


I am up to neither good nor bad, but what serves me.

Offline

#2 2014-01-08 17:15:34

GE
Member
Registered: 2014-01-04
Posts: 41

Re: [SOLVED] Quick question about mirrorlist.pacnew

halo wrote:

Is there a way to view with pacman -Q a chronological order or timeline of recently installed packages so I can try to re-install and generate another mirrorlist.pacnew ? (I understand that there is a way to query similar information about individual packages, but I simply don't remember which packages I upgraded last night).

/var/log/pacman.log

Last edited by GE (2014-01-08 17:18:12)


• WM: Openbox
• Resolution: 1366x768
• CPU: CPU: Intel Pentium CPU B980 @ 2.4GHz
• RAM: 2931MB

Offline

#3 2014-01-08 17:17:55

halo
Member
From: Denver
Registered: 2013-12-27
Posts: 32

Re: [SOLVED] Quick question about mirrorlist.pacnew

I tried opening last night but it was an unsupported format in all of my editors. I'll try nano or another editor.

Thanks.

I understand the mirror list isn't being generated. It sounds as if the mirrorlist.pacnew just gets rid of ftp servers no being used??

Last edited by halo (2014-01-08 17:19:49)


I am up to neither good nor bad, but what serves me.

Offline

#4 2014-01-08 17:19:55

GE
Member
Registered: 2014-01-04
Posts: 41

Re: [SOLVED] Quick question about mirrorlist.pacnew

Impossible.

$ file pacman.log 
pacman.log: ASCII text

Just use cat in your favorite terminal instead of a text editor.

Last edited by GE (2014-01-08 17:21:15)


• WM: Openbox
• Resolution: 1366x768
• CPU: CPU: Intel Pentium CPU B980 @ 2.4GHz
• RAM: 2931MB

Offline

#5 2014-01-08 17:21:29

halo
Member
From: Denver
Registered: 2013-12-27
Posts: 32

Re: [SOLVED] Quick question about mirrorlist.pacnew

10:21:09: This is Geany 1.23.1.
10:21:09: The file "/var/log/pacman.log" does not look like a text file or the file encoding is not supported.
10:21:09: New file "untitled" opened.


I am up to neither good nor bad, but what serves me.

Offline

#6 2014-01-08 17:22:11

halo
Member
From: Denver
Registered: 2013-12-27
Posts: 32

Re: [SOLVED] Quick question about mirrorlist.pacnew

Will do.


I am up to neither good nor bad, but what serves me.

Offline

#7 2014-01-08 17:22:36

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,873
Website

Re: [SOLVED] Quick question about mirrorlist.pacnew

If your editor can't handle plain text files, I'd report it to the devs, that's a pretty big bug.

Regarding the pacnew, I usually delete it. If I have issues with my mirrors, I use reflector to generate a new mirrorlist.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#8 2014-01-08 17:23:14

halo
Member
From: Denver
Registered: 2013-12-27
Posts: 32

Re: [SOLVED] Quick question about mirrorlist.pacnew

I opened it up in term. Thanks. Now I'm wondering what's up with geany.


I am up to neither good nor bad, but what serves me.

Offline

#9 2014-01-08 17:23:43

GE
Member
Registered: 2014-01-04
Posts: 41

Re: [SOLVED] Quick question about mirrorlist.pacnew

halo wrote:

10:21:09: This is Geany 1.23.1.
10:21:09: The file "/var/log/pacman.log" does not look like a text file or the file encoding is not supported.
10:21:09: New file "untitled" opened.

WorMzy wrote:

If your editor can't handle plain text files, I'd report it to the devs, that's a pretty big bug.

Regarding the pacnew, I usually delete it. If I have issues with my mirrors, I use reflector to generate a new mirrorlist.

Exactly!

Last edited by GE (2014-01-08 17:23:59)


• WM: Openbox
• Resolution: 1366x768
• CPU: CPU: Intel Pentium CPU B980 @ 2.4GHz
• RAM: 2931MB

Offline

#10 2014-01-08 17:23:46

alphaniner
Member
From: Ancapistan
Registered: 2010-07-12
Posts: 2,810

Re: [SOLVED] Quick question about mirrorlist.pacnew

My log is not plain ASCII text:

$ file /var/log/pacman.log
/var/log/pacman.log: Non-ISO extended-ASCII text

OT: I have mirrorlist in NoExtract because I regularly generate it manually.

Last edited by alphaniner (2014-01-08 17:25:11)


But whether the Constitution really be one thing, or another, this much is certain - that it has either authorized such a government as we have had, or has been powerless to prevent it. In either case, it is unfit to exist.
-Lysander Spooner

Offline

#11 2014-01-08 17:25:14

GE
Member
Registered: 2014-01-04
Posts: 41

Re: [SOLVED] Quick question about mirrorlist.pacnew

alphaniner wrote:

My log is not plain ASCII text:

$ file /var/log/pacman.log
/var/log/pacman.log: Non-ISO extended-ASCII text

Could it be a locale thing?


• WM: Openbox
• Resolution: 1366x768
• CPU: CPU: Intel Pentium CPU B980 @ 2.4GHz
• RAM: 2931MB

Offline

#12 2014-01-08 17:26:16

halo
Member
From: Denver
Registered: 2013-12-27
Posts: 32

Re: [SOLVED] Quick question about mirrorlist.pacnew

Marking solved. Thanks for the pointers. I'll review geany later and if its not user error, I'll put a bug report in.


I am up to neither good nor bad, but what serves me.

Offline

#13 2014-01-08 17:26:20

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,575

Re: [SOLVED] Quick question about mirrorlist.pacnew

No big deal, as long as you don't change your mirrors. If you do change your mirrors, you just won't have the new ones and may have old, inactive ones still in the list.

If you use something like reflector, you don't need it at all. If you want it back, https://projects.archlinux.org/svntogit … mirrorlist

Offline

#14 2014-01-08 17:26:37

alphaniner
Member
From: Ancapistan
Registered: 2010-07-12
Posts: 2,810

Re: [SOLVED] Quick question about mirrorlist.pacnew

@GE:

$ locale
LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=

Last edited by alphaniner (2014-01-08 17:26:54)


But whether the Constitution really be one thing, or another, this much is certain - that it has either authorized such a government as we have had, or has been powerless to prevent it. In either case, it is unfit to exist.
-Lysander Spooner

Offline

#15 2014-01-08 17:30:40

GE
Member
Registered: 2014-01-04
Posts: 41

Re: [SOLVED] Quick question about mirrorlist.pacnew

Nop. That's not it then. I changed the locale setting, rebooted, updated (pacman) and the file type didn't change.


• WM: Openbox
• Resolution: 1366x768
• CPU: CPU: Intel Pentium CPU B980 @ 2.4GHz
• RAM: 2931MB

Offline

#16 2014-01-08 17:38:29

alphaniner
Member
From: Ancapistan
Registered: 2010-07-12
Posts: 2,810

Re: [SOLVED] Quick question about mirrorlist.pacnew

While it's strange, I don't have any problems viewing or parsing it. I only mentioned it for OP's sake, but it's probably not related after all: geany has no problem opening mine.

Last edited by alphaniner (2014-01-08 17:38:53)


But whether the Constitution really be one thing, or another, this much is certain - that it has either authorized such a government as we have had, or has been powerless to prevent it. In either case, it is unfit to exist.
-Lysander Spooner

Offline

#17 2014-01-08 17:52:02

halo
Member
From: Denver
Registered: 2013-12-27
Posts: 32

Re: [SOLVED] Quick question about mirrorlist.pacnew

Mine shows up as:

file pacman.log
pacman.log: data

I am up to neither good nor bad, but what serves me.

Offline

#18 2014-01-08 18:38:30

alphaniner
Member
From: Ancapistan
Registered: 2010-07-12
Posts: 2,810

Re: [SOLVED] Quick question about mirrorlist.pacnew

That pretty well explains why geany couldn't or wouldn't open it.


But whether the Constitution really be one thing, or another, this much is certain - that it has either authorized such a government as we have had, or has been powerless to prevent it. In either case, it is unfit to exist.
-Lysander Spooner

Offline

#19 2014-01-08 22:33:26

halo
Member
From: Denver
Registered: 2013-12-27
Posts: 32

Re: [SOLVED] Quick question about mirrorlist.pacnew

Why do we have different formats? Does this have anything to do with options picked (such as language format- I see someone else has a non-SO format, while one has plain ascii, and mine being data- or perhaps something else? I'm probably a mile off the mark).

edit: fuuu der der @GE already brought up locale which it obviously isn't as I am using UTF as well.

Last edited by halo (2014-01-08 22:36:30)


I am up to neither good nor bad, but what serves me.

Offline

#20 2014-01-09 14:17:25

alphaniner
Member
From: Ancapistan
Registered: 2010-07-12
Posts: 2,810

Re: [SOLVED] Quick question about mirrorlist.pacnew

I started a thread about this. It seems differing formats are the norm, but most people agree 'data' doesn't seem right.


But whether the Constitution really be one thing, or another, this much is certain - that it has either authorized such a government as we have had, or has been powerless to prevent it. In either case, it is unfit to exist.
-Lysander Spooner

Offline

Board footer

Powered by FluxBB