How to query package info from the server repo instead of local DB?
Greetings!
Is there an option in pacman to query the package info ( like -Si ) from the server repo instead of the local package database? Or maybe some additional program is needed for this?
Update: Maybe this can be done by downloading a fresh copy of package DB with -Sy, but how to specify a custom package DB file? Is this accomplished with --dbpath option? Say
pacman -Sy --dbpath /tmp/tmpdb
Last edited by nbd (2015-06-07 18:44:23)
nbd wrote:
How could one interpret this?
[root@kw etc]# checkupdates | grep pcre
pcre
[root@kw etc]# pacman -Si pcre | grep Version
Version : 8.37-1
[root@kw etc]# pacman -Qi pcre | grep Version
Version : 8.37-1
[root@kw etc]#
Ok, after updating your original post and asking this question I understand what you are actually trying to do. The "local package database" generally refers to /var/lib/pacman/local, not /var/lib/pacman/sync, which is why it was unclear.
fakeroot pacman -Syb /tmp/tmpdb -i pcre
should do what you want, but be very careful never to install anything using that temporary database. Take a look at the checkupgrades script to see how it does things if you want to do more than just check remote package info.
Similar Messages
-
Just got the 4S. I cannot get Siri to work. It says it cannot retrieve info from the server. What does that mean and how can I fix it to use it?
Siri always contacts her own server at apple. They may be performing maintenance or applying updates, should be back soon.
-
How to download ALL MAIL from the server in a Mail app ?
How to download ALL MAIL from the server in a Mail app ? I want all the mail messages, sent, received ON my computer... Thanks much !!!!!!!
In Mail's Accounts/Mailbox Behavior preference pane make sure these 4 checkboxes are NOT checked:
OT -
How to fetch session timeout from the server
Hi
I want to subscribe about the value of the session timeout value from the server
from time to time , is there any way in the flex or through blazeds to achieve
this .
Thanks
AkshatErnie,
thanks for your suggestions. It seems my problem can't be solved in a smart way. To your question: My server space is limited ( 1 GB ), I use currently about 2/3 of it.
I have access to the mails via the web interface and therefore I could forward the mails to my account but I would like to have all mails local on my Mac with the original time stamps and format. But that's not the case for forwarded mails. In addition for sure the problem is not solved, if I cure the current symptoms and I have no idea if it's caused by an update of my Mac or by the server.
Werner -
How to redownload old messages from the server
On my primary PC with Windows 7-64bit, I have my server settings to leave messages on the server for 55 days.
I need to download the old messages again into Thunderbird probably due to some problems with Time Warner Road Runner sometimes blacklisting Netflix e-mail (if that is the proper term). Netflix is aware of the problem with TWC bouncing their e-mail.
I know that if I went to another PC with Thunderbird--all the old and current messages from the last 55 days should be downloaded to it.
But how do I download them again (if possible) to my primary computer with Thunderbird? If I go to web based e-mail at TWC, my old messages from up to 55 days are listed.Close Thunderbird. Then delete the file popstate.dat in your profile.
http://kb.mozillazine.org/Popstate.dat -
How to get all users from the server....?
Hi all,
in my application i want to get all possible users present in the PORTAL-EP Server
and set them into the drop down.
is there need to login in the portal as a admin or other user to get the all users present in the Server.
Regards,
DeepakHi! Deepak,
you can use UME API to get all the users of EP in WebDynpro appl.
Herewith i am giving you the UME API link --
<a href="http://help.sap.com/javadocs/NW04/current/um/index.html">http://help.sap.com/javadocs/NW04/current/um/index.html</a>
i am giving the code also to get all the users from LDAP.
IPublic<ComponentName>.IUserIDElement userIDNodeElement = null;
IUserAccountFactory accountFact = UMFactory.getUserAccountFactory();
MessageManager msgMgr = (MessageManager)wdThis.wdGetAPI().getComponent().getMessageManager();
try {
IUserAccountSearchFilter accountSearchFilter = accountFact.getUserAccountSearchFilter();
accountSearchFilter.setLogonUid("*",ISearchAttribute.LIKE_OPERATOR,false);
ISearchResult srchRslt = accountFact.search(accountSearchFilter);
while(srchRslt.hasNext()) {
userIDNodeElement = wdContext.createUserIDElement(); String uniqueID = (String)srchRslt.next();
IUserAccount userAccount = accountFact.getUserAccount(uniqueID);
String LogonUid = userAccount.getLogonUid();
userIDNodeElement.setCtx_UserID(LogonUid);
wdContext.nodeUserID().addElement(userIDNodeElement);
} catch(Exception exc) {
msgMgr.reportWarning(umException.toString());
regards,
Mithilehwar -
How to fetch forgotten mails from the server
Possibly due to aborted fetch cycles some mails are left on my GMX-POP account and will not be fetched when I poll my mails next time. This happens only since some weeks but since there three times. Possibly something changed either in the Apple Mail program or how the server behaves? Is there a way to fetch this lost mails?
Obviously mails saves the time of the last poll. How can I reset this time to a date older the last unfetched mail to refetch all mails inclusive the lost ones? For sure then I will have duplicated mails. Is there a way to easily remove this duplicates without deleting it individually?
Many thanks for your help,
WernerErnie,
thanks for your suggestions. It seems my problem can't be solved in a smart way. To your question: My server space is limited ( 1 GB ), I use currently about 2/3 of it.
I have access to the mails via the web interface and therefore I could forward the mails to my account but I would like to have all mails local on my Mac with the original time stamps and format. But that's not the case for forwarded mails. In addition for sure the problem is not solved, if I cure the current symptoms and I have no idea if it's caused by an update of my Mac or by the server.
Werner -
HOW DO I DOWNLOAD MAIL FROM THE SERVER
In the past, Thunderbird had a simple command , "Get Mail" That has disappeared as far as I can tell. Need to get my messages off the server as some just disappear if I leave them there too long and I never can tell what "too long" is.
Thanks
Vic TenneryGet Mail has not been removed, but yours may be hidden.
http://www.ramsden.org.uk/5_Lost_toolbars.html
http://chrisramsden.vfast.co.uk/13_Menus_in_Thunderbird.html
IMHO, unless you have a formal service level agreement with your email provider, you should view all email stored on their server as transient and not guaranteed to be there tomorrow. -
Can i delete my emails from the server using the default mail program in mountain lion?
how can i delete emails from the server in mail on os 10.8.1?
Hi, check Mail>Preferences>Accounts, both Mailbox Behaviors & Advanced tab to see those settings.
-
How to check Debug messages in the server
Hi All,
I am working on extensions and in my java controller file i have certain System.out.println messages. I would like to know how to check these messages from the server for debugging purpose.
Kindly help me in the same.
Thanks
Deeksha11i - log file location - $APACHE_TOP/Jserv/logs/jserv.log
r12 - log file location - $INST_TOP/logs/ora/10.1.3/opmn/oacore_default_group_1/oacorestd.out
You can prepend your SOP with some text and search for the text in the log files. -
How do I make Mail remove junk/deleted messages from the server? The only option tht works for me now is the "Remove from server" button at Account Info > Messages on server. What am I doing wrong?
Mail > Preferences… > Accounts > Advanced > Remove copy from server after retrieving a message
-
Hi, going crazy. Can't get this fixed. Unable to retrieve contact info from synch server. I did re-do synch using one time only replace I-phone info from "contacts" on computer and tried synching after that - no use same error!
I saw someone by name of Gator wrote pathways to follow in windows but got only as far as user (yes, selected my name as user as opposed to public) then clicked it open but lost after that - can't get to appdata for the next step.... any help or ideas would be soooooo appreciated. I'm so tired of this issue. thanks!
Pinina in Phoenix, AzHi, going crazy. Can't get this fixed. Unable to retrieve contact info from synch server. I did re-do synch using one time only replace I-phone info from "contacts" on computer and tried synching after that - no use same error!
I saw someone by name of Gator wrote pathways to follow in windows but got only as far as user (yes, selected my name as user as opposed to public) then clicked it open but lost after that - can't get to appdata for the next step.... any help or ideas would be soooooo appreciated. I'm so tired of this issue. thanks!
Pinina in Phoenix, Az -
Hi all,
I am developing an application. in this app i have to implement RMI.
My problem is this, How can a client open a files from the server.
all the html, pdf files are stored in the server's directory like C:\audit\filename.
There is a folder on the server's C directory which contains all the html , pdf files.
please tell me how can a client open a file from the server using RMI.
Please send me the solution as soon as possible.
Thanks & Regards
BhavishyaThat's doing it the hard way. Why not use HTTP or FTP?
-
How to download a pdf file from the server from an strut application?
Hi,
I wan to download a pdf file from the server side to local system. Please help me how i use the down load option.Read up on the Struts download action [1].
And next time, please post in the relevant forum, one of the web-tier ones [2].
[1] http://wiki.apache.org/struts/StrutsFileDownload
[2] http://forum.java.sun.com/category.jspa?categoryID=20
People on the forum help others voluntarily, it's not their job.
Help them help you.
Learn how to ask questions first: http://faq.javaranch.com/java/HowToAskQuestionsOnJavaRanch
---------------------------------------------------------------- -
How to download a text file from the server
hi everyone,
can anyone tell me how to download and read a text file from the server and saved in into resource folder.
with regards
pallaviits really easy
To read from server, use something like:
HttpConnection connector = null;
InputStream inp_stream = null;
OutputStream out_stream = null;
void CloseConnection()
if(inp_stream!=null)inp_stream.close();
inp_stream=null;
if(out_stream!=null)out_stream.close();
out_stream=null;
connector.close();
connector = null;
public void getResponse(String URL,String params)
try
if(connector==null)connector = (HttpConnection)Connector.open(URL);//URL of your text file / php script
connector.setRequestMethod(HttpConnection.POST);
connector.setRequestProperty("User-Agent","Profile/MIDP-2.0 Configuration/CLDC-1.1");
connector.setRequestProperty("content-type", "application/x-www-form-urlencoded");
//connector.setRequestProperty("charset","windows-1251");
//*** If you need to send ("arg1=value&arg2=value") arguments to script use this:
out_stream = connector.openOutputStream();
byte postmsg[] = params.getBytes();
out_stream.write(postmsg);
int rc = connector.getResponseCode();//in any case here connection will be opened & closed
if (rc != HttpConnection.HTTP_OK)
CloseConnection();
throw new IOException("HTTP response code: " + rc);
inp_stream = connector.openInputStream();
int pack_len = inp_stream.available();
byte answ[]=new byte[pack_len];
inp_stream.read(answ);
CloseConnection();
ProcAnswer(answ);//process received data
catch(Exception ex)
System.err.println("ERROR IN getResponse(): "+ex);
} And you can read from resource file like
public void loadFile(String filename)
DataInputStream dis = new DataInputStream(getClass().getResourceAsStream("/"+filename));
String str="";
try
while (true)
ch = dis.read();//read character
if(ch=='\r')continue;//if file made in windows
if(ch=='\n' || ch==-1)//end of line or end of file
if(str.length()==0)continue;//if empty line
//do some thing with "str"
if(ch==-1)break;//it was last line
str="";//next line
continue;
str+=(char)ch;
dis.close();
catch (Exception e)
System.err.println("ERROR in loadFile() " + e);
}Welcome! =)
Edited by: MorskoyZmey on Aug 14, 2008 3:40 AM
Maybe you are looking for
-
IPhone 4S will not charge or connect to iTunes
For the last week or so, my iPhone has been dying very quickly, I end up having to charge it 4 to 5 times a day, and when it does charger, it always overheats. Suddenly, my iPhone has stopped charging and it will not connect to iTunes. I have tried r
-
I am calling a report from a form in oracle AS 10g. But when I am trying to get the jobid before passing it to web.show_document() it is hanging... Can anyone help
-
How to check Username and Password
hai in my application i'm navigating from Login page to Home Page . in login page i have to check for particular user name and password let us say abc and abc. if the user enters wrong username and password it should redirect to login page. is ther
-
I am trying to send an email from Lookout V6.6 using the Mailer object. I have an email address setup through GMAIL and have verified it works. Also, Lookout Mailer object is able to verify GMAIL server. I get the following error message when tryi
-
Is it possible to remove cents from itunes?
i need to change regions and it wont allow me to do so.