Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Eclipse keeps crunching while "updating rpm packages proposal list"

I've recently installed Eclipse Kepler CDT on a Win7 64 machine. It runs fine (well, sort of), but - it keeps crunching, with the status bar saying

Updating RPM packages proposal list

Why is this happening and how can I make it stop?

like image 515
einpoklum Avatar asked Jul 28 '13 10:07

einpoklum


3 Answers

It's a bug in the "Linux Tools" plugin. It seems that the plugin is unable to create the file specified at

Window -> Preferences -> Specfile Editor -> RPM Completions -> Path to packages list file

or

Window -> Preferences -> RPM -> Specfile Editor -> RPM Completions -> Path to packages list file

and therefore keeps trying to create it.

To fix this problem, just create an empty file at that location & name, or create a new empty file at a different location & name and specify it as the "Path to packages list file".

Note: You cannot create the default file (.pkglist) using Windows explorer since it won't let you create a file whose name starts with a dot. So open a console (command prompt) window and run this command:

echo. > path\to\file\.pkglist
like image 97
Ignitor Avatar answered Nov 05 '22 22:11

Ignitor


I was able to solve this in Eclipse Kepler by going to Window -> Preferences -> Specfile Editor -> RPM Completions and un-checking Automatically build the RPM packages proposal list

like image 30
Eugene Marcotte Avatar answered Nov 05 '22 22:11

Eugene Marcotte


Run Eclipse as administrator and it will create this fail successfully. Normal program do not have rights to write into this directory.

When developers lean to give meaningful error messages? Also, it will probably tray to write into this file sometimes in the future and that will also fail. Make this fail writable for users, normally programs run with user rights!

like image 3
user3279079 Avatar answered Nov 05 '22 23:11

user3279079