You are not logged in.
Targets (1): initscripts-2011.10.2-1
Total Download Size: 0.02 MB
Total Installed Size: 0.12 MB
Proceed with installation? [Y/n] y
:: Retrieving packages from core...
initscripts-2011.1... 21.8K 532.2K/s 00:00:00 [######################] 100%
(1/1) checking package integrity [######################] 100%
(1/1) checking for file conflicts [######################] 100%
error: failed to commit transaction (conflicting files)
initscripts: /etc/profile.d/locale.sh exists in filesystem
Errors occurred, no packages were upgraded.
any idea?
Last edited by giowck (2011-10-22 10:51:17)
Offline
Best Testing Repo Warning: [testing] means it can eat you hamster, catch fire and you should keep it away from children. And I'm serious here, it's not an April 1st joke.
Offline
Yes, read the news on the front page.
PS. Despite that news item, I predict at least a half dozen other threads like this one. Possibly a full dozen. Showing that not only do many people not read the news, they also do not search the forums or do any other kinds of research.
PPS. Nothing against you personally, giowck. In fact, you get a pass, because this issue has not been raised on the forums yet. But now that the forums also address this issue, there's no excuse whatsoever for anyone who will post a new thread about this.
Last edited by Gusar (2011-10-22 10:56:56)
Offline
Thanks, forgot to check the news page.
ps. since I'm regularly updating my system and didn't encounter any issue so far, I just forgot to check the news
Last edited by giowck (2011-10-22 11:29:28)
Offline
I predict at least a half dozen other threads like this one. Possibly a full dozen. Showing that not only do many people not read the news, they also do not search the forums or do any other kinds of research.
Sadly, I suspect that your higher estimation will likely be the more accurate.
This thread should probably be stickied for the time it takes for this to work its way through the community.
Offline
Can you really expect all users to read the news page? I for one don't visit archlinux.org regularly and sometimes there are no news updates for weeks. I know you can subscribe to the RRS feed but some people don't use any feed reader at all.
I think pacman should (be able to) display these kinds of messages. Or better yet, pacman could ask the user whether they want to proceed with the deletion of the conflicting file or not.
P.s.: luckily Google already lists this thread as 2nd search result.
Last edited by kraxor (2011-10-22 13:14:59)
Offline
I don't like RSS either, but there isn't really an excuse not to subscribe to the arch-announce mailing list. That's how I found out about this news item.
Offline
Couldn't the install script of the package handle the deletion or backing up of the old /etc/profile.d/locale.sh ?
I'm not complaining, I'm just curious about this.
Offline
No, because it was generated every boot. It can handle files in packages, but not files generated AFTER the install, not in the install itself.
Best Testing Repo Warning: [testing] means it can eat you hamster, catch fire and you should keep it away from children. And I'm serious here, it's not an April 1st joke.
Offline
Not really. Install scripts' purpose is to execute commands before or after installing, upgrading or removing some package.
I'm guessing that certain commands like rm or mv are to be avoided for security reasons.
I would be glad if anyone can confirm this or point me to some related info.
Offline
Thanks for posting this - found out of the problem before I updated.
Offline
I'm glad someone asked about this. I sure wouldn't have thought to check the news page every single time I want to run pacman. This was the first page to show up in Google.
Last edited by phoric (2011-10-22 19:36:35)
Offline
I'm glad someone asked about this. I sure wouldn't have thought to check the news page every single time I want to run pacman.
It's enough you check the news, forums, bug reposts, maybe the mailing list and the wiki when you run into some problems, not before every 'pacman -Syu'.
This was the first page to show up in Google.
You're doing it wrong ;P
Last edited by karol (2011-10-22 19:39:41)
Offline
It's enough you check the news, forums, bug reposts, maybe the mailing list and the wiki when you run into some problems, not before every 'pacman -Syu'.
Actually this is the first time in recent memory I've encountered any issue with updates. Even if it is a minor one.
Last edited by phoric (2011-10-22 19:41:36)
Offline
I don't like RSS either, but there isn't really an excuse not to subscribe to the arch-announce mailing list.
Good point, especially when there's so few posts.
Offline
error: failed to commit transaction (conflicting files)
initscripts: /etc/profile.d/locale.sh exists in filesystem
I know this is already solved but to me the solution is suggested in the terminal. Even without reading the news it should be obvious that locale.sh needs to be renamed or removed before the upgrade can be completed.
Just sayin'...
Offline
Yes, read the news on the front page.
PS. Despite that news item, I predict at least a half dozen other threads like this one. Possibly a full dozen. Showing that not only do many people not read the news, they also do not search the forums or do any other kinds of research.
PPS. Nothing against you personally, giowck. In fact, you get a pass, because this issue has not been raised on the forums yet. But now that the forums also address this issue, there's no excuse whatsoever for anyone who will post a new thread about this.
My search abilities seem to be failing me. I read the news but...
If . /etc/rc.conf fails in your login shell, please read the full announcement.
And that is where?
Offline
Gusar wrote:Yes, read the news on the front page.
PS. Despite that news item, I predict at least a half dozen other threads like this one. Possibly a full dozen. Showing that not only do many people not read the news, they also do not search the forums or do any other kinds of research.
PPS. Nothing against you personally, giowck. In fact, you get a pass, because this issue has not been raised on the forums yet. But now that the forums also address this issue, there's no excuse whatsoever for anyone who will post a new thread about this.
My search abilities seem to be failing me. I read the news but...
If . /etc/rc.conf fails in your login shell, please read the full announcement.
And that is where?
Below.
The first line is the TL;DR "executive summary" :-)
Offline
Below.
The first line is the TL;DR "executive summary" :-)
Just Greek to me. I suppose a link would be too much to ask for...
EDIT: Hmm, I guess you are saying this is the "full announcement".
http://www.archlinux.org/news/initscrip … -required/
Last edited by David Batson (2011-10-23 19:27:24)
Offline
karol wrote:Below.
The first line is the TL;DR "executive summary" :-)Just Greek to me. I suppose a link would be too much to ask for...
Not sure if you're referring to the content of the announcement or just to the localization of said announcement. It you mean the latter, here it is:
Changes to locale handling:
/etc/profile.d/locale.sh is now a static file that sources the correct config files in order to set your locale, rather than being generated at boot. The benefit of this is one less write to /etc, and it allows changes to the locale to take effect without rebooting (just relogin).
We add support for /etc/locale.conf. The settings in this file takes precedence over /etc/rc.conf, and those who use shells that cannot source /etc/rc.conf are required to move to this new format. /etc/locale.conf contains a new-line separated list of variable assignments. The variables we support are LANG as well as the LC_* variables (with the exception of LC_ALL). The format is shared with systemd.
Edit: Yes, that's exactly what I meant :-)
Last edited by karol (2011-10-23 19:29:11)
Offline
Question: can the Arch devs not add the newsposts to pacman.
I know on gentoo that anytime there is a something that requires end-user intervention, a news post is added via the package manager; and can be read by the end-user when/if the problem arises. The news post can either contain the fix; or a link to the page with the fix on it.
As a newer Arch user; I tend to find I go straight to google before checking the website - I forget about the website .
But if the answer was right there in front of the end-user; one would think that threads like this become less of a necessity
Just a suggestion ...
Offline
Question: can the Arch devs not add the newsposts to pacman.
I know on gentoo that anytime there is a something that requires end-user intervention, a news post is added via the package manager; and can be read by the end-user when/if the problem arises. The news post can either contain the fix; or a link to the page with the fix on it.
As a newer Arch user; I tend to find I go straight to google before checking the website - I forget about the website
.
But if the answer was right there in front of the end-user; one would think that threads like this become less of a necessityJust a suggestion ...
Subscribe to arch-announce mailing list http://mailman.archlinux.org/mailman/li … h-announce
Unfortunately even if e.g. post_install message is printed some users come to the mailing list, forum or IRC and ask for help because they missed it or they still don't know what to do.
Offline
@kraxor - I'm not a fan of RSS either. To get around RSS I suggest this package aur/rss2email-xdg-git
Offline
I sure wish a link to the FULL announcement was provided. My display manager doesn't work now, and creating locale.conf with the following two lines doesn't work (with or without locale.sh:
LANG=en_US.UTF-8
LC_MESSAGES=C
Offline
I sure wish a link to the FULL announcement was provided.
The full announcement is on the front page ...
As for the exact wording, I'm not a native English speaker so I can't say if it's confusing or not.
Offline