You are not logged in.

#1 2010-07-26 12:12:07

legolas558
Member
Registered: 2009-09-08
Posts: 97

/etc/services file deleted?

I have recently upgraded my Arch box and today I found out that /etc/services was...deleted!
The deletion happened on 19 July, this is the relative section of my /var/log/pacman.log:

[2010-07-19 14:35] Running '/usr/bin/pacman --noconfirm -Syu'
[2010-07-19 14:35] synchronizing package lists
[2010-07-19 14:36] starting full system upgrade
[2010-07-19 14:38] warning: directory permissions differ on usr/share/adesklets/
filesystem: 775  package: 755
[2010-07-19 14:38] upgraded adesklets (0.6.1-9 -> 0.6.1-10)
[2010-07-19 14:38] warning: directory permissions differ on usr/share/adesklets/
filesystem: 775  package: 755
[2010-07-19 14:38] warning: directory permissions differ on usr/share/adesklets/yab/icons/
filesystem: 775  package: 755
[2010-07-19 14:38] upgraded adesklet-yab (0.0.2-5 -> 0.0.2-6)
[2010-07-19 14:38] upgraded bin2iso (1.9b-1 -> 1.9b-2)
[2010-07-19 14:38] upgraded fmodex (4.30.02-2 -> 4.30.05-1)
[2010-07-19 14:38] upgraded gtk-chtheme (0.3.1-4 -> 0.3.1-5)
[2010-07-19 14:38] upgraded libpurple (2.7.1-1 -> 2.7.1-2)
[2010-07-19 14:38] upgraded libupnp (1.6.6-2 -> 1.6.6-3)
[2010-07-19 14:38] upgraded module-init-tools (3.11.1-2 -> 3.12-1)
[2010-07-19 14:38] upgraded orc (0.4.4-1 -> 0.4.6-1)
[2010-07-19 14:39] upgraded pidgin (2.7.1-1 -> 2.7.1-2)
[2010-07-19 14:39] upgraded sip (4.10.3-1 -> 4.10.5-1)
[2010-07-19 14:39] upgraded vte (0.24.2-1 -> 0.24.3-1)

None of these packages has /etc/services in its file list, but some of them must have messed it up to the point of removing it!

Has somebody experienced the same issue?


.-.   ,---,---.--.
| |__  \ \ \ \`//.
`----'`--'`--'`--'

Offline

#2 2010-07-26 12:21:18

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: /etc/services file deleted?

None of the packages you list are related. It's likely no coincidence that /etc/services and /etc/protocols were split off to iana-etc and is a dependency of the new testing/filesystem package.

Offline

#3 2010-07-26 12:33:16

legolas558
Member
Registered: 2009-09-08
Posts: 97

Re: /etc/services file deleted?

falconindy wrote:

None of the packages you list are related. It's likely no coincidence that /etc/services and /etc/protocols were split off to iana-etc and is a dependency of the new testing/filesystem package.

Yes, they are not related. I am also using [testing] so that must be the cause. Shall I install iana-etc?


.-.   ,---,---.--.
| |__  \ \ \ \`//.
`----'`--'`--'`--'

Offline

#4 2010-07-26 13:15:23

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: /etc/services file deleted?

legolas558 wrote:
falconindy wrote:

None of the packages you list are related. It's likely no coincidence that /etc/services and /etc/protocols were split off to iana-etc and is a dependency of the new testing/filesystem package.

Yes, they are not related. I am also using [testing] so that must be the cause. Shall I install iana-etc?

should?? you must!.

but i'm not sure how did you managed to not have it. is a dependency of filesystem


Give what you have. To someone, it may be better than you dare to think.

Offline

#5 2010-07-26 14:31:53

legolas558
Member
Registered: 2009-09-08
Posts: 97

Re: /etc/services file deleted?

wonder wrote:
legolas558 wrote:
falconindy wrote:

None of the packages you list are related. It's likely no coincidence that /etc/services and /etc/protocols were split off to iana-etc and is a dependency of the new testing/filesystem package.

Yes, they are not related. I am also using [testing] so that must be the cause. Shall I install iana-etc?

should?? you must!.

but i'm not sure how did you managed to not have it. is a dependency of filesystem

Simple: I used pacman -Sud because I don't want avahi as dependency of vlc...and that caused the trouble sad


.-.   ,---,---.--.
| |__  \ \ \ \`//.
`----'`--'`--'`--'

Offline

#6 2010-07-26 14:32:32

legolas558
Member
Registered: 2009-09-08
Posts: 97

Re: /etc/services file deleted?

How can I check that all packages' dependencies are currently installed?


.-.   ,---,---.--.
| |__  \ \ \ \`//.
`----'`--'`--'`--'

Offline

#7 2010-07-26 14:48:44

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: /etc/services file deleted?

legolas558 wrote:

How can I check that all packages' dependencies are currently installed?

testdb

about avahi dependency, why you didn't submitted a feature request on the tracker to move it in optdepends? i see that is required by a plugin for service discovery

Last edited by wonder (2010-07-26 14:53:32)


Give what you have. To someone, it may be better than you dare to think.

Offline

#8 2010-07-28 10:19:43

legolas558
Member
Registered: 2009-09-08
Posts: 97

Re: /etc/services file deleted?

ok testdb says that there are no missing dependencies.

I have submitted http://bugs.archlinux.org/task/20300 and http://bugs.archlinux.org/task/20301


.-.   ,---,---.--.
| |__  \ \ \ \`//.
`----'`--'`--'`--'

Offline

#9 2010-07-28 11:01:22

sand_man
Member
From: Australia
Registered: 2008-06-10
Posts: 2,164

Re: /etc/services file deleted?

legolas558 wrote:
wonder wrote:
legolas558 wrote:

Yes, they are not related. I am also using [testing] so that must be the cause. Shall I install iana-etc?

should?? you must!.

but i'm not sure how did you managed to not have it. is a dependency of filesystem

Simple: I used pacman -Sud because I don't want avahi as dependency of vlc...and that caused the trouble sad

In that case you should have upgraded the single packages while skipping dependency checks, not the whole system.


neutral

Offline

#10 2010-07-28 15:13:25

legolas558
Member
Registered: 2009-09-08
Posts: 97

Re: /etc/services file deleted?

sand_man wrote:
legolas558 wrote:
wonder wrote:

should?? you must!.

but i'm not sure how did you managed to not have it. is a dependency of filesystem

Simple: I used pacman -Sud because I don't want avahi as dependency of vlc...and that caused the trouble sad

In that case you should have upgraded the single packages while skipping dependency checks, not the whole system.

Now, I know, but before this trouble I thought that [i]-d[/b] option would have ignored only missing dependencies, not all dependencies


.-.   ,---,---.--.
| |__  \ \ \ \`//.
`----'`--'`--'`--'

Offline

#11 2010-07-28 16:17:52

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: /etc/services file deleted?

From man pacman:

-d, --nodeps
           Skips all dependency checks. Normally, pacman will always check a package's dependency fields to ensure that all dependencies are installed and there are
           no package conflicts in the system.

Emphasis mine.

If -d only skipped missing dependencies, it would be pretty useless wink. It's very useful to upgrade single packages, but you should use it with care. Using it during a system-wide update is pretty bad practice.


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#12 2010-07-28 16:38:24

legolas558
Member
Registered: 2009-09-08
Posts: 97

Re: /etc/services file deleted?

.:B:. wrote:

From man pacman:

-d, --nodeps
           Skips all dependency checks. Normally, pacman will always check a package's dependency fields to ensure that all dependencies are installed and there are
           no package conflicts in the system.

Emphasis mine.

If -d only skipped missing dependencies, it would be pretty useless wink. It's very useful to upgrade single packages, but you should use it with care. Using it during a system-wide update is pretty bad practice.

Yes I agree...

However there should be a way to easily block a package from being installed; I have used customizepkg or IgnorePkg in pacman.conf..but there isn't yet something like Gentoo's way


.-.   ,---,---.--.
| |__  \ \ \ \`//.
`----'`--'`--'`--'

Offline

#13 2010-07-28 22:34:08

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: /etc/services file deleted?

Gentoo is not Arch. Arch has binary packages, and hard dependencies. If it's not a hard dependency and the package is built correctly, then the dependency will be an optdepends. If the stock VLC runs fine without avahi installed, you should file a feature request to move it into optdepends.


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#14 2010-07-29 09:32:13

legolas558
Member
Registered: 2009-09-08
Posts: 97

Re: /etc/services file deleted?

.:B:. wrote:

Gentoo is not Arch. Arch has binary packages, and hard dependencies. If it's not a hard dependency and the package is built correctly, then the dependency will be an optdepends. If the stock VLC runs fine without avahi installed, you should file a feature request to move it into optdepends.

You could save me the "Gentoo is not Arch" newbie phrase...I know what is what, I am talking about emerge's way to ignore dependencies NOT about how packages are built.

Even if a package has a hard dependency, pacman should not force you to install the dependency anyway. It should be my choice to have a broken dependency. Furthermore I have already submitted a feature request for avahi in optdepends (read previous posts).

Please, let's not start flames with cheap replies like this...


.-.   ,---,---.--.
| |__  \ \ \ \`//.
`----'`--'`--'`--'

Offline

#15 2010-07-29 09:39:01

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: /etc/services file deleted?

Let's not take it there, shall we?

If you feel your complaint is sound and your argument is solid, just open a ticket about pacman on the bugtracker. Let the devs handle it. My opinion is your point is unreasonable, if you don't appreciate my opinion, that's fine, but keep your replies decent.


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#16 2010-07-29 10:43:03

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,395
Website

Re: /etc/services file deleted?

legolas558 wrote:

Even if a package has a hard dependency, pacman should not force you to install the dependency anyway.

It does not force you to install the dependency.  But the easiest way no to screw your system is to install it and then remove it with -Rd.

Edit: it is not as if you are force to run the avahi daemon..

Offline

Board footer

Powered by FluxBB