LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   After distro reinstall, Steam can no longer install software to ~/.steam (https://www.linuxquestions.org/questions/linux-software-2/after-distro-reinstall-steam-can-no-longer-install-software-to-%7E-steam-4175599583/)

WaterCatapult 02-12-2017 10:04 AM

After distro reinstall, Steam can no longer install software to ~/.steam
 
Good evening,

this isn't necessary a gaming related question but rather one regarding Steam's incapability of installing software in general to my steamapps direcotry of choice after I have installed another distro, Mint18.1 in that case.

Before that I also had the same issue for Mint17.3 and Debian8 and possibly Debian7 too once I upgraded, the games are all still existent of course but Steam doesn't detect those and outputs the message that it couldn't write to ~/.steam.

Looking up the terminal output won't help much, all it tells is the following:
Code:

$ steam
Running Steam on linuxmint 18.1 64-bit
STEAM_RUNTIME is enabled automatically
[2017-02-12 16:57:31] Startup - updater built Jan 19 2017 01:22:13
[2017-02-12 16:57:31] Installation wird überprüft...
[2017-02-12 16:57:31] Verification complete
Unable to remove /home/me/.steam/CONFIG/SteamAppData.vdf!

Running Steam on linuxmint 18.1 64-bit
STEAM_RUNTIME has been set by the user to: /home/me/.steam/ubuntu12_32/steam-runtime
Refresh rate: 1
Refresh rate: 1
Refresh rate: 1
Refresh rate: 1
Refresh rate: 1
Refresh rate: 1
Refresh rate: 1
Refresh rate: 1

So is there a way to fix that problem or do I have to move the entire directory somewhere else?

Hopefully someone can help, it's a little annoying to run into that issue again and again :thumbsdown:


Kind regards,
WaterCatapult

pan64 02-12-2017 10:36 AM

it looks like a permission problem, probably the user id changed.

resuni 02-12-2017 04:54 PM

I remember a problem like this happening when I didn't have my video drivers installed properly, particularly Nvidia. Have you installed your video drivers yet?

WaterCatapult 02-12-2017 11:41 PM

Good morning,

Quote:

Originally Posted by pan64 (Post 5669408)
it looks like a permission problem, probably the user id changed.

So, how can I change things to look normal again, specially for Steam in that case?

Quote:

Originally Posted by Bradj47 (Post 5669520)
I remember a problem like this happening when I didn't have my video drivers installed properly, particularly Nvidia. Have you installed your video drivers yet?

Oh yes indeed, I have nVidia 378.09 running from the graphic drivers PPA for both Mint and Ubuntu.
Same results with older versions though.


Kind regards,
WaterCatapult

pan64 02-13-2017 12:45 AM

Quote:

Originally Posted by WaterCatapult (Post 5669641)
Good morning,


So, how can I change things to look normal again, specially for Steam in that case?

I have no idea at this moment. But probably you can check if that was really a permission/user id/group id related issue.

TheEzekielProject 02-13-2017 01:03 AM

You might run ls -al on your home directory and make sure that you own .steam*

ondoho 02-13-2017 01:22 AM

Quote:

Originally Posted by WaterCatapult (Post 5669641)
So, how can I change things to look normal again, specially for Steam in that case?

always read the code!
Quote:

Originally Posted by WaterCatapult (Post 5669392)
Code:

Unable to remove /home/me/.steam/CONFIG/SteamAppData.vdf!

try to remove the file in question manually. or even better, look at its ownership/permissions and try to understand why steam cannot remove it.

pan64 02-13-2017 01:37 AM

if in doubt you may try to rename: /home/me/.steam to /home/me/.steam.renamed

WaterCatapult 02-13-2017 02:27 AM

Quote:

Originally Posted by TheEzekielProject (Post 5669657)
You might run ls -al on your home directory and make sure that you own .steam*

It seems so at least, according to the output that you can see below.

I'm not sure about the group permissions for my user though.
Is it really necessary for Steam to run properly or simply to install anything?

Quote:

Originally Posted by ondoho (Post 5669661)
always read the code!
try to remove the file in question manually. or even better, look at its ownership/permissions and try to understand why steam cannot remove it.

You have a point there.
Could be difficult though, I just looked up and noticed the file doesn't even exist in the first place:

Code:

$ ls -al .steam/config/
insgesamt 228
drwxr-xr-x  5 me me  4096 Feb 13 05:52 .
drwxr-xr-x 31 me me  4096 Feb 13 05:22 ..
drwxr-xr-x  2 me me  4096 Aug  5  2016 avatarcache
-rw-rw-r--  1 me me 27219 Feb 13 05:52 config.vdf
-rw-r--r--  1 me me  5200 Dez 24 23:32 coplay_76561198003173687.vdf
-rw-r--r--  1 me me  6738 Aug  6  2016 DialogConfigOverlay_1016x515.vdf
-rw-r--r--  1 me me  4457 Jun 26  2016 DialogConfigOverlay_1024x687.vdf
-rw-r--r--  1 me me  4389 Sep  3 00:17 DialogConfigOverlay_1080x520.vdf
-rw-r--r--  1 me me  4433 Dez 15 16:49 DialogConfigOverlay_1130x650.vdf
-rw-r--r--  1 me me  4433 Jan 12 17:34 DialogConfigOverlay_1280x700.vdf
-rw-r--r--  1 me me  6727 Aug  2  2016 DialogConfigOverlay_1280x704.vdf
-rw-r--r--  1 me me  9094 Feb  9 21:18 DialogConfigOverlay_1280x720.vdf
-rw-r--r--  1 me me  6703 Sep 28 05:45 DialogConfigOverlay_800x480.vdf
-rw-r--r--  1 me me  6773 Dez 14 21:06 DialogConfigOverlay_800x600.vdf
-rw-r--r--  1 me me  6712 Dez 23 20:19 DialogConfigOverlay_849x430.vdf
-rw-r--r--  1 me me  6736 Dez 22 21:48 DialogConfigOverlay_851x424.vdf
-rw-r--r--  1 me me  6738 Dez 14 06:13 DialogConfigOverlay_960x540.vdf
-rw-r--r--  1 me me 32403 Feb 13 05:22 DialogConfig.vdf
drwxr-xr-x  6 me me 36864 Dez 14 05:37 htmlcache
-rw-r--r--  1 me me  163 Feb 13 05:22 loginusers.vdf
drwxr-xr-x  2 me me  4096 Dez 13 05:50 widevine

Only places where this file exist is in fact my Steam prefixes within Wine/PlayOnLinux that I barely use anymore.

Quote:

Originally Posted by pan64 (Post 5669668)
if in doubt you may try to rename: /home/me/.steam to /home/me/.steam.renamed

Seems like I have to give it a shot after all.
Can tell you about the results not so fast though, I'm connected to my home PC via SSH from work as of now.


Kind regards,
WaterCatapult

WaterCatapult 02-13-2017 01:43 PM

Hello you guys,

just tried to mv .steam to .steam-mint181 just to give it a shot with a symlink that's named like the original directory added.

Turns out this didn't help, trying to add the steamapps directory with my games that's still inside gives me a Steam client that tells me to choose an empty folder :(


Kind regards,
WaterCatapult

ondoho 02-13-2017 03:08 PM

linux is case-sensitive.

CONFIG is not the same as config.

WaterCatapult 02-13-2017 10:54 PM

Good morning ondoho,

Quote:

Originally Posted by ondoho (Post 5669978)
linux is case-sensitive.

CONFIG is not the same as config.

I am aware of that, don't worry.
Doesn't change the fact that I'm naive enough to give the "config" directory a try since "CONFIG" doesn't exist :)

Code:

$ ls -la .steam/
insgesamt 832
drwxr-xr-x  31 me me  4096 Feb 13 20:40 .
drwxr-xr-x 247 me me  16384 Feb 13 20:38 ..
drwxr-xr-x  4 me me  4096 Feb 13 19:27 appcache
drwxr-xr-x  2 me me  4096 Aug 24 21:42 Backups
drwxr-xr-x  2 me me  4096 Sep 27 19:12 banner
lrwxrwxrwx  1 me me    26 Feb 13 20:38 bin -> /home/me/.steam/bin32
lrwxrwxrwx  1 me me    32 Feb 13 20:38 bin32 -> /home/me/.steam/ubuntu12_32
lrwxrwxrwx  1 me me    32 Feb 13 20:38 bin64 -> /home/me/.steam/ubuntu12_64
-rwxr-xr-x  1 me me  11384 Feb 11  2014 bin_steamdeps.py
-rwxr-xr-x  1 me me  5498 Nov 24 03:12 bin_steam.sh
drwxr-xr-x  2 me me  36864 Jan 23 05:06 cached
drwxr-xr-x  5 me me  4096 Feb 13 20:40 config
drwxr-xr-x  4 me me  4096 Dez 13 05:50 controller_base
drwxr-xr-x  2 me me  20480 Feb 11 10:19 depotcache
drwxr-xr-x  24 me me  4096 Jun 24  2016 drivercheck
-rw-rw-r--  1 me me  5850 Feb 13 20:39 error.log
drwxr-xr-x  2 me me  4096 Jun 24  2016 fontconfig
drwxr-xr-x  2 me me  12288 Jan 23 05:06 friends
drwxr-xr-x  2 me me  4096 Feb  9 20:42 games
drwxr-xr-x  3 me me  53248 Okt 14 20:35 graphics
drwxr-xr-x  2 me me  4096 Okt 14 20:35 html5app
-rwxr-xr-x  1 me me 219330 Jan 20  2014 legacydepotdata.vdf
drwxr-xr-x  2 me me  4096 Jan 23 05:06 linux32                                                                 
drwxr-xr-x  2 me me  4096 Jan 23 05:06 linux64                                                                 
drwxr-xr-x  2 me me  4096 Feb 12 12:39 logs                                                                   
drwxr-xr-x  3 me me  4096 Jun 24  2016 music                                                                   
drwxr-xr-x  2 me me  4096 Jan 23 05:06 package                                                                 
drwxr-xr-x  4 me me  20480 Jan 23 05:06 public                                                                 
-rw-r--r--  1 me me  1736 Feb 13 20:40 registry.vdf                                                           
-rw-r--r--  1 me me  1313 Sep  6  2014 registry.vdf.bak                                                                                                                                                             
drwxr-xr-x  3 me me  4096 Jun 24  2016 remoteui                                                                                                                                                                     
drwxr-xr-x  6 me me  20480 Jan 23 05:06 resource                                                                                                                                                                     
lrwxrwxrwx  1 me me    20 Feb 13 20:38 root -> /home/me/.steam                                                                                                                                                 
lrwxrwxrwx  1 me me    28 Feb 13 20:38 sdk32 -> /home/me/.steam/linux32                                                                                                                                         
lrwxrwxrwx  1 me me    28 Feb 13 20:38 sdk64 -> /home/me/.steam/linux64                                                                                                                                         
drwxr-xr-x  2 me me  4096 Jan 23 05:06 servers                                                                                                                                                                       
drwxr-xr-x  2 me me  4096 Okt 14 20:35 skins                                                                                                                                                                         
-rw-r--r--  1 me me  2048 Jun 24  2016 ssfn6302224729641205992                                                                                                                                                       
lrwxrwxrwx  1 me me    20 Feb 13 20:38 steam -> /home/me/.steam                                                                                                                                                 
drw-rw-rw-  7 me me  12288 Feb 12 16:43 steamapps
-rwxr-xr-x  1 me me    857 Okt  8  2013 steamdeps.txt
-rwxr-xr-x  1 me me  8860 Feb  7  2013 steam_install_agreement.txt
-rwxr-xr-x  1 me me    869 Mär 24  2013 steam_msg.sh
-rw-r--r--  1 me me      6 Feb 13 20:38 steam.pid
prw-------  1 me me      0 Feb 13 20:38 steam.pipe
-rwxr-xr-x  1 me me  21682 Dez 20 19:47 steam.sh
drwxr-xr-x  3 me me  4096 Jun 24  2016 tenfoot
-rwxr-xr-x  1 me me    405 Dez 24  2013 ThirdPartyLegalNotices.css
-rwxr-xr-x  1 me me  25088 Dez 17  2013 ThirdPartyLegalNotices.doc
-rwxr-xr-x  1 me me 200918 Jul 24  2015 ThirdPartyLegalNotices.html
drwxr-xr-x  9 me me  4096 Feb 11 10:18 ubuntu12_32
drwxr-xr-x  4 me me  4096 Feb 11 10:18 ubuntu12_64
drwxr-xr-x  3 me me  4096 Jun 24  2016 userdata
drwxr-xr-x  2 me me  12288 Feb 12 12:44 WINDOWSTEMPDIR_FONTCONFIG_CACHE


Kind regards,
WaterCatapult

pan64 02-14-2017 01:31 AM

Quote:

Originally Posted by WaterCatapult (Post 5669922)
Hello you guys,

Turns out this didn't help, trying to add the steamapps directory with my games that's still inside gives me a Steam client that tells me to choose an empty folder :(

I'm lost, so actually I do not know what is your real problem, what do you want to achieve. But if steam asks for an empty folder just give it one....

WaterCatapult 02-14-2017 02:17 AM

Quote:

Originally Posted by pan64 (Post 5670216)
I'm lost, so actually I do not know what is your real problem, what do you want to achieve. But if steam asks for an empty folder just give it one....

Basically I want Steam to detect my games the way it should.
I might just mkdir another steamapps and move the games from the original folder to the new one and tell results later on.


Kind regards,
WaterCatapult

WaterCatapult 02-15-2017 11:14 PM

Good morning there,

I don't know what I did but for whatever reason I decided to look at my steamapps directory using Midnight Commander.
What showed up were certain directories moved to the wrong location (possibly cursed by my earlier tries to rescue things) and that my original steamapps directory was marked as executable?

Anyhow, I spend two hours letting the system moving files to the locations we also talked about here before I did a 'chmod -R rw+ugo .steamapps' and suddenly everything seems to work again.

No idea why, it just feels odd.

Still thanks a lot to you guys isolating the curse of my problems :)
Without that help I'd probably still re-download every game I had installed before.


Kind regards,
WaterCatapult


All times are GMT -5. The time now is 08:36 AM.